* basic.cpp: if needed, #include <typeinfo>,
* mul.h: mul::print() needed a default for 2nd arg.
Hey, Cebix, could you please have a look at the assertions of type
basis.return_type()==return_types::commutative in power.cpp ctors?
Watch out, though: they are not just bogus because of the rule
(x*y)^2 -> x^2*y^2 in power::eval().
#include <iostream>
#include <stdexcept>
+#ifdef DO_GINAC_ASSERT
+# include <typeinfo>
+#endif
#include "basic.h"
#include "ex.h"
// functions overriding virtual functions from bases classes
public:
- void print(const print_context & c, unsigned level) const;
+ void print(const print_context & c, unsigned level = 0) const;
bool info(unsigned inf) const;
int degree(const ex & s) const;
int ldegree(const ex & s) const;