]> www.ginac.de Git - ginac.git/blobdiff - ginac/relational.cpp
- rotate_31() and golden_hash_ratio() moved to utils.h
[ginac.git] / ginac / relational.cpp
index 9dad5cc70c3178f6b9f3167e1fd3576c8155477a..f63a297f67d3094c7ad9e6630817c6f504c08525 100644 (file)
@@ -1,7 +1,8 @@
 /** @file relational.cpp
  *
- *  Implementation of relations between expressions
- *
+ *  Implementation of relations between expressions */
+
+/*
  *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
 
 #include <stdexcept>
 
-#include "ginac.h"
+#include "relational.h"
+#include "numeric.h"
+#include "debugmsg.h"
+
+namespace GiNaC {
 
 //////////
 // default constructor, destructor, copy constructor assignment operator and helpers
@@ -29,7 +34,7 @@
 
 // public
 
-relational::relational() : basic(TINFO_RELATIONAL)
+relational::relational() : basic(TINFO_relational)
 {
     debugmsg("relational default constructor",LOGLEVEL_CONSTRUCT);
 }
@@ -77,7 +82,7 @@ void relational::destroy(bool call_parent)
 
 // public
 
-relational::relational(ex const & lhs, ex const & rhs, operators oper) : basic(TINFO_RELATIONAL)
+relational::relational(ex const & lhs, ex const & rhs, operators oper) : basic(TINFO_relational)
 {
     debugmsg("relational constructor ex,ex,operator",LOGLEVEL_CONSTRUCT);
     lh=lhs;
@@ -259,3 +264,4 @@ unsigned relational::precedence=20;
 const relational some_relational;
 type_info const & typeid_relational=typeid(some_relational);
 
+} // namespace GiNaC