[Bug 607] New: cerr in mcpdf displays wrong variable

For more infomation about this bug, visit
Summary: cerr in mcpdf displays wrong variable
Product: BFL
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: trivial
Priority: P3
Component: core
AssignedTo: bfl [..] ...
ReportedBy: meeussen [..] ...
CC: bfl [..] ...
Estimated Hours: 0.0

$ svn diff
Index: mcpdf.h
===================================================================
--- mcpdf.h (revision 29785)
+++ mcpdf.h (working copy)
@@ -471,7 +471,7 @@
}

#ifdef __MCPDF_DEBUG__
- cout << "MCPDF::SumWeightsUpdate: SumWeights = " << _SumWeights << endl;
+ cout << "MCPDF::SumWeightsUpdate: SumOfWeights = " << SumOfWeights <<
endl;
#endif // __MCPDF_DEBUG__

if (SumOfWeights > 0){
@@ -479,7 +479,7 @@
return true;
}
else{
- cerr << "MCPDF::SumWeightsUpdate: SumWeights = " << _SumWeights <<
endl;
+ cerr << "MCPDF::SumWeightsUpdate: SumOfWeights = " << SumOfWeights <<
endl;
return false;
}
}

[Bug 607] cerr in mcpdf displays wrong variable

For more infomation about this bug, visit

Tinne De Laet <tinne [dot] delaet [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
CC| |tinne [dot] delaet [..] ...en.b
| |e
Target Milestone|--- |0.6.2

--- Comment #1 from Tinne De Laet <tinne [dot] delaet [..] ...> 2008-12-17 20:15:01 ---
tinne-de-laets-macbook:bfl Fiep$ svn commit -m "Fixing bug#607 (cerr in mcpdf
displays wrong variable) with patch proposed by Wim Meeussen"
Sending src/pdf/mcpdf.h
Transmitting file data .
Committed revision 29805.