]> www.ginac.de Git - ginac.git/blobdiff - ginac/clifford.cpp
dirac_slash() called the wrong clifford constructor
[ginac.git] / ginac / clifford.cpp
index ba5d33986a17eb3755a2c72aec33f24ac6429504..2a78d1a39db00635c6fb4846316c8a85e11ee19f 100644 (file)
@@ -685,7 +685,7 @@ ex dirac_slash(const ex & e, const ex & dim, unsigned char rl)
        // Slashed vectors are actually stored as a clifford object with the
        // vector as its base expression and a (dummy) index that just serves
        // for storing the space dimensionality
-       return clifford(e, varidx(0, dim), rl);
+       return clifford(e, varidx(0, dim), default_metric(), rl);
 }
 
 /** Check whether a given tinfo key (as returned by return_type_tinfo()