]> www.ginac.de Git - ginac.git/blobdiff - ginac/structure.h
Synced to HEAD
[ginac.git] / ginac / structure.h
index 469acdecd998eb38c51c84c79576cf76e6789785..7d303fa8bb91465dcab179ad997d21c09739f2d8 100644 (file)
@@ -195,7 +195,7 @@ public:
        // indexed objects
        exvector get_free_indices() const { return exvector(); }
        ex add_indexed(const ex & self, const ex & other) const { return self + other; }
-       ex scalar_mul_indexed(const ex & self, const numeric & other) const { return self * other; }
+       ex scalar_mul_indexed(const ex & self, const numeric & other) const { return self * ex(other); }
        bool contract_with(exvector::iterator self, exvector::iterator other, exvector & v) const { return false; }
 
        // noncommutativity