From ee8d8975e34b51645f33e3350f6bb188b482c818 Mon Sep 17 00:00:00 2001 From: Markus Blatt <mblatt@dune-project.org> Date: Fri, 18 Sep 2009 15:21:30 +0000 Subject: [PATCH] we should use the unsigned value here. (thanks go to the compiler for pointing this out.) [[Imported from SVN: r5578]] --- common/bigunsignedint.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/bigunsignedint.hh b/common/bigunsignedint.hh index 6f56fb236..8482f9dce 100644 --- a/common/bigunsignedint.hh +++ b/common/bigunsignedint.hh @@ -147,7 +147,7 @@ namespace Dune bigunsignedint<k>::bigunsignedint (int y) { std::size_t x = std::abs(y); - assign(y); + assign(x); } template<int k> -- GitLab