* Implementation of GiNaC's indexed expressions. */
/*
- * GiNaC Copyright (C) 1999-2015 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2016 Johannes Gutenberg University Mainz, Germany
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
return inherited::compare_same_type(other);
}
-ex indexed::eval(int level) const
+ex indexed::eval() const
{
- // First evaluate children, then we will end up here again
- if (level > 1)
- return indexed(ex_to<symmetry>(symtree), evalchildren(level));
-
const ex &base = seq[0];
// If the base object is 0, the whole object is 0