[yoda-svn] r451 - trunk/src

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed May 2 13:28:00 BST 2012


Author: hoeth
Date: Wed May  2 13:28:00 2012
New Revision: 451

Log:
fix errors in Scatter2D yoda writer

Modified:
   trunk/src/WriterYODA.cc

Modified: trunk/src/WriterYODA.cc
==============================================================================
--- trunk/src/WriterYODA.cc	Wed May  2 13:04:46 2012	(r450)
+++ trunk/src/WriterYODA.cc	Wed May  2 13:28:00 2012	(r451)
@@ -116,8 +116,8 @@
     _writeAnnotations(os, s);
     os << "# xval\t xerr-\t xerr+\t yval\t yerr-\t yerr+\n";
     foreach (Point2D pt, s.points()) {
-      os << pt.x() << "\t" << pt.xErrMinus() << "\t" << pt.xErrMinus() << "\t";
-      os << pt.y() << "\t" << pt.yErrMinus() << "\t" << pt.yErrMinus() << "\n";
+      os << pt.x() << "\t" << pt.xErrMinus() << "\t" << pt.xErrPlus() << "\t";
+      os << pt.y() << "\t" << pt.yErrMinus() << "\t" << pt.yErrPlus() << "\n";
     }
     os << "# END YODA_SCATTER2D\n\n";
 


More information about the yoda-svn mailing list