#include "utils.h"
#include "hash_seed.h"
#include "indexed.h"
+#include "compiler.h"
#include <algorithm>
#if EXPAIRSEQ_USE_HASHTAB
* has (at least) two possible different semantics but we want to inherit
* methods thus avoiding code duplication. Sometimes a method in expairseq
* has to create a new one of the same semantics, which cannot be done by a
- * ctor because the name (add, mul,...) is unknown on the expaiseq level. In
+ * ctor because the name (add, mul,...) is unknown on the expairseq level. In
* order for this trick to work a derived class must of course override this
* definition. */
ex expairseq::thisexpairseq(const epvector &v, const ex &oc, bool do_index_renaming) const
// returns a pointer to a newly created epvector otherwise
// (which has to be deleted somewhere else)
- if (level==1)
+ if (likely(level==1))
return std::auto_ptr<epvector>(0);
if (level == -max_recursion_level)