]> www.ginac.de Git - ginac.git/blobdiff - ginac/fail.h
ncmul::eval(): don't write beyond the end of the vector.
[ginac.git] / ginac / fail.h
index c87c7918cdb7931046d4c44cf49dc15e9542b67b..bedd3d08bde417f356eb66fb98c04a841fb6ed26 100644 (file)
@@ -4,7 +4,7 @@
  *  somewhat obsolete (most of this can be replaced by exceptions). */
 
 /*
- *  GiNaC Copyright (C) 1999-2007 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2010 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef __GINAC_FAIL_H__
-#define __GINAC_FAIL_H__
+#ifndef GINAC_FAIL_H
+#define GINAC_FAIL_H
 
 #include "basic.h"
+#include "archive.h"
 
 namespace GiNaC {
 
@@ -40,7 +41,8 @@ protected:
 protected:
        void do_print(const print_context & c, unsigned level) const;
 };
+GINAC_DECLARE_UNARCHIVER(fail);
 
 } // namespace GiNaC
 
-#endif // ndef __GINAC_FAIL_H__
+#endif // ndef GINAC_FAIL_H