From: Christian Bauer Date: Wed, 6 Nov 2002 20:10:39 +0000 (+0000) Subject: - removed an unused statement in tensor.cpp X-Git-Tag: release_1-0-13~27 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=commitdiff_plain;h=d62ef51eb25759462a28063289687fc491cec8d1;p=ginac.git - removed an unused statement in tensor.cpp - symbol names generated by GiNaC had an extra null byte at the end --- diff --git a/ginac/tensor.cpp b/ginac/tensor.cpp index af085ece..b49cbc05 100644 --- a/ginac/tensor.cpp +++ b/ginac/tensor.cpp @@ -492,7 +492,6 @@ bool tensepsilon::contract_with(exvector::iterator self, exvector::iterator othe if (is_ex_exactly_of_type(other->op(0), tensepsilon) && num+1 == other->nops()) { // Contraction of two epsilon tensors is a determinant - ex dim = ex_to(self->op(1)).get_dim(); bool variance = is_a(self->op(1)); matrix M(num, num); for (int i=0; i std::string ToString(const T & t) { std::ostringstream buf; - buf << t << std::ends; + buf << t; return buf.str(); }