From d62ef51eb25759462a28063289687fc491cec8d1 Mon Sep 17 00:00:00 2001 From: Christian Bauer Date: Wed, 6 Nov 2002 20:10:39 +0000 Subject: [PATCH] - removed an unused statement in tensor.cpp - symbol names generated by GiNaC had an extra null byte at the end --- ginac/tensor.cpp | 1 - ginac/tostring.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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(); } -- 2.49.0