X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fclifford.cpp;h=ff98011fb39739ae827443ede2f395a08e57d8b5;hp=1e154b1ab3a450b87bb97ace3e653dd0690f5877;hb=26741891dadf23162799009b6fd57b4984bd4ce5;hpb=66c0f31c678e6c1938d637636b230ea376c157c1 diff --git a/ginac/clifford.cpp b/ginac/clifford.cpp index 1e154b1a..ff98011f 100644 --- a/ginac/clifford.cpp +++ b/ginac/clifford.cpp @@ -1,8 +1,9 @@ /** @file clifford.cpp * * Implementation of GiNaC's clifford 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,11 @@ #include "ex.h" #include "ncmul.h" #include "utils.h" +#include "debugmsg.h" + +#ifndef NO_GINAC_NAMESPACE +namespace GiNaC { +#endif // ndef NO_GINAC_NAMESPACE ////////// // default constructor, destructor, copy constructor assignment operator and helpers @@ -147,7 +153,7 @@ bool clifford::info(unsigned inf) const int clifford::compare_same_type(basic const & other) const { - ASSERT(other.tinfo() == TINFO_clifford); + GINAC_ASSERT(other.tinfo() == TINFO_clifford); const clifford *o = static_cast(&other); if (serial==o->serial) { return indexed::compare_same_type(other); @@ -207,3 +213,6 @@ unsigned clifford::next_serial=0; const clifford some_clifford; type_info const & typeid_clifford=typeid(some_clifford); +#ifndef NO_GINAC_NAMESPACE +} // namespace GiNaC +#endif // ndef NO_GINAC_NAMESPACE