]> www.ginac.de Git - ginac.git/blobdiff - ginac/lorentzidx.cpp
- clarified timings
[ginac.git] / ginac / lorentzidx.cpp
index 3719f15b672a86e0bdb8c002627a9542601cd860..6d09ee1f271ada48f3a2276a6f45601220fff621 100644 (file)
@@ -24,6 +24,9 @@
 
 #include "lorentzidx.h"
 #include "utils.h"
+#include "debugmsg.h"
+
+namespace GiNaC {
 
 //////////
 // default constructor, destructor, copy constructor assignment operator and helpers
@@ -225,7 +228,7 @@ bool lorentzidx::info(unsigned inf) const
 
 lorentzidx lorentzidx::create_anonymous_representative(void) const
 {
-    ASSERT(is_symbolic());
+    GINAC_ASSERT(is_symbolic());
     lorentzidx i_copy(*this);
     i_copy.serial=0;
     i_copy.name="anonymous_representative";
@@ -248,5 +251,4 @@ lorentzidx lorentzidx::create_anonymous_representative(void) const
 const lorentzidx some_lorentzidx;
 type_info const & typeid_lorentzidx=typeid(some_lorentzidx);
 
-
-
+} // namespace GiNaC