From 43354bebae4e048f976ea5ccc9d8e9350a658e99 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sat, 7 Mar 2009 21:32:09 +0000 Subject: [PATCH] Fixed compiler error in visual studio 7.1 --HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402904 --- dlib/matrix/matrix_expressions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlib/matrix/matrix_expressions.h b/dlib/matrix/matrix_expressions.h index fccf070bf..549a70057 100644 --- a/dlib/matrix/matrix_expressions.h +++ b/dlib/matrix/matrix_expressions.h @@ -1610,7 +1610,7 @@ namespace dlib T operator() ( long, long c - ) const { return std::pow(10,start + c*inc); } + ) const { return std::pow((T)10,start + c*inc); } T operator() ( long c