]> www.ginac.de Git - ginac.git/blobdiff - ginac/isospin.cpp
- added prefix and postfix increment and decrement operators for class numeric
[ginac.git] / ginac / isospin.cpp
index 05ca5fbe23f3aabdcbc98ef6c5ae13943b0e6c46..e5288e9cc16d999d211c0b0b005dbbf3fd73a643 100644 (file)
@@ -1,8 +1,9 @@
 /** @file isospin.cpp
  *
  *  Implementation of GiNaC's isospin objects.
- *  No real implementation yet, to be done.    
- *
+ *  No real implementation yet, to be done.     */
+
+/*
  *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -26,6 +27,9 @@
 #include "ex.h"
 #include "ncmul.h"
 #include "utils.h"
+#include "debugmsg.h"
+
+namespace GiNaC {
 
 //////////
 // default constructor, destructor, copy constructor assignment operator and helpers
@@ -147,7 +151,7 @@ bool isospin::info(unsigned inf) const
 
 int isospin::compare_same_type(basic const & other) const
 {
-    ASSERT(other.tinfo() == TINFO_isospin);
+    GINAC_ASSERT(other.tinfo() == TINFO_isospin);
     const isospin *o = static_cast<const isospin *>(&other);
     if (serial==o->serial) {
         return indexed::compare_same_type(other);
@@ -207,3 +211,4 @@ unsigned isospin::next_serial=0;
 const isospin some_isospin;
 type_info const & typeid_isospin=typeid(some_isospin);
 
+} // namespace GiNaC