[yoda-svn] r531 - trunk/include/YODA

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Fri Oct 5 11:59:32 BST 2012


Author: hoeth
Date: Fri Oct  5 11:59:32 2012
New Revision: 531

Log:
copy'n'paste error message typo

Modified:
   trunk/include/YODA/Bin1D.h
   trunk/include/YODA/Bin2D.h

Modified: trunk/include/YODA/Bin1D.h
==============================================================================
--- trunk/include/YODA/Bin1D.h	Tue Sep 25 10:24:23 2012	(r530)
+++ trunk/include/YODA/Bin1D.h	Fri Oct  5 11:59:32 2012	(r531)
@@ -282,7 +282,7 @@
     /// It cannot be used to merge two bins into one larger bin.
     Bin1D<DBN>& subtract(const Bin1D<DBN>& b) {
       if (_edges != b._edges) {
-        throw LogicError("Attempted to add two bins with different edges");
+        throw LogicError("Attempted to subtract two bins with different edges");
       }
       _dbn -= b._dbn;
       return *this;

Modified: trunk/include/YODA/Bin2D.h
==============================================================================
--- trunk/include/YODA/Bin2D.h	Tue Sep 25 10:24:23 2012	(r530)
+++ trunk/include/YODA/Bin2D.h	Fri Oct  5 11:59:32 2012	(r531)
@@ -354,7 +354,7 @@
     /// It cannot be used to merge two bins into one larger bin.
     Bin2D<DBN>& subtract(const Bin2D<DBN>& b) {
       if (_xedges != b._xedges || _yedges != b._yedges) {
-        throw LogicError("Attempted to add two bins with different edges");
+        throw LogicError("Attempted to subtract two bins with different edges");
       }
       _dbn -= b._dbn;
       return *this;


More information about the yoda-svn mailing list