]> www.ginac.de Git - ginac.git/commitdiff
Fixed returning of test result (++result was +result).
authorJens Vollinga <jensv@balin.nikhef.nl>
Fri, 6 Feb 2009 15:22:58 +0000 (16:22 +0100)
committerJens Vollinga <jensv@balin.nikhef.nl>
Fri, 6 Feb 2009 15:22:58 +0000 (16:22 +0100)
check/exam_hashmap.cpp

index c8540f3e49be5592d230f28f4585ff93c3d86d5b..55d3be7790f291fe3d32f9d721ab03a8d1393969 100644 (file)
@@ -210,7 +210,7 @@ unsigned exam_hashmap()
        }
        if (it->second != 0) {
                clog << "find() returned an incorrect value" << endl;
        }
        if (it->second != 0) {
                clog << "find() returned an incorrect value" << endl;
-               +result;
+               ++result;
        }
 
        M5.erase(it);
        }
 
        M5.erase(it);