]> www.ginac.de Git - ginac.git/blobdiff - ginac/fail.cpp
fixed a bug where quo() would call vector::reserve() with a negative argument
[ginac.git] / ginac / fail.cpp
index 7de656a52e9acfc9de7d9bebe0af8181655e4ee0..da00eece6a516dd5d21e021b8146a58a968e41fa 100644 (file)
@@ -1,7 +1,7 @@
 /** @file fail.cpp
  *
  *  Implementation of class signaling failure of operation. Considered
- *  obsolete all this stuff ought to be replaced by exceptions. */
+ *  somewhat obsolete (most of this can be replaced by exceptions). */
 
 /*
  *  GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+#include <iostream>
+
 #include "fail.h"
+#include "print.h"
 #include "archive.h"
-#include "debugmsg.h"
 #include "utils.h"
 
 namespace GiNaC {
@@ -31,7 +33,7 @@ namespace GiNaC {
 GINAC_IMPLEMENT_REGISTERED_CLASS(fail, basic)
 
 //////////
-// default ctor, dtor, copy ctor assignment operator and helpers
+// default ctor, dtor, copy ctor, assignment operator and helpers
 //////////
 
 DEFAULT_CTORS(fail)
@@ -43,7 +45,7 @@ DEFAULT_CTORS(fail)
 DEFAULT_ARCHIVING(fail)
 
 //////////
-// functions overriding virtual functions from bases classes
+// functions overriding virtual functions from base classes
 //////////
 
 DEFAULT_COMPARE(fail)