Various fixes. See notework.txt

This commit is contained in:
Alexander S. Aganichev 2001-10-08 04:15:30 +00:00
parent 490f7ead15
commit 42f09dceac
2 changed files with 7 additions and 3 deletions

View File

@ -12,6 +12,9 @@ ______________________________________________________________________
Notes for GoldED+ 1.1.5, /snapshot/
______________________________________________________________________
! Thread list optimized a bit by speed. It aslo should not crash on
long threads now.
- Fixed serious bug with forwarding when ADDRESSLOOKUPFIRST set to
MSGID (or no Origin line available) and you call either spellchecker
or EditLoadFile function. The address was set to the address of

View File

@ -45,8 +45,9 @@
#include <glog.h>
#include <iomanip>
#include <iostream>
#include <fstream>
//#define GOLDNODE_STATS 1
#define GOLDNODE_STATS 1
#ifdef GOLDNODE_STATS
#include <math.h>
@ -497,7 +498,7 @@ void calc_statistic(std::ofstream &ofp, int* observation, float N) {
}
ofp << "|-----+-------+-------+--------+--------------|" << std::endl
<< "| sum | " << std::setprecision(0) << std::setw(5) << N << " | " << std::setprecision(3) << std::setw(5) << sumfrekvens << " | " << std::setw(5) << mean << " | " << std::setw(12) << varians << " |" << std::endl
<< "| sum | " << std::setprecision(0) << std::setw(5) << N << " | " << std::setprecision(3) << std::setw(5) << sumfrekvens << " | " << std::setw(6) << mean << " | " << std::setw(12) << varians << " |" << std::endl
<< "`---------------------------------------------'" << std::endl
<< std::endl
<< "Mean: " << std::setprecision(1) << mean << std::endl
@ -858,7 +859,7 @@ static void read_nodelists() {
if(not ofp) {
if(not quiet) std::cout << "Error opening statfile " << statfilename << '!' << std::endl;
}
else
else {
ofp << "Nodename size statistics:" << std::endl;
calc_statistic(ofp, statistic.nodename, nodes);