From 9d88b0d573d5fa888c619de6f1225b289d761eb5 Mon Sep 17 00:00:00 2001 From: jgoppert Date: Thu, 5 Nov 2015 11:29:18 -0500 Subject: [PATCH] Fix for gcc 4.6 --- matrix/SquareMatrix.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix/SquareMatrix.hpp b/matrix/SquareMatrix.hpp index a86763465d..06061b420d 100644 --- a/matrix/SquareMatrix.hpp +++ b/matrix/SquareMatrix.hpp @@ -185,7 +185,7 @@ public: size_t k = 1; while (k < n) { - res += A_pow * (Type(pow(dt, k)) / Type(k_fact)); + res += A_pow * (Type(pow(dt, Type(k))) / Type(k_fact)); if (k == n) { break;