/** @file lorentzidx.cpp
*
- * Implementation of GiNaC's lorentz indices.
- *
+ * Implementation of GiNaC's lorentz indices. */
+
+/*
* GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
*
* This program is free software; you can redistribute it and/or modify
#include "lorentzidx.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
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";
const lorentzidx some_lorentzidx;
type_info const & typeid_lorentzidx=typeid(some_lorentzidx);
-
-
+#ifndef NO_GINAC_NAMESPACE
+} // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE