From 632824e4d8247a5939baa31f7ea1cf5f790998af Mon Sep 17 00:00:00 2001 From: ThorstenB Date: Sun, 19 Feb 2012 20:30:15 +0100 Subject: [PATCH] Fix MSVC build issue. MSVC complained about ambiguous "floor" when T=. --- src/Network/generic.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Network/generic.hxx b/src/Network/generic.hxx index 627f3ef60..55f0ca8a5 100644 --- a/src/Network/generic.hxx +++ b/src/Network/generic.hxx @@ -113,7 +113,7 @@ private: if( prot.max > prot.min ) { if( prot.wrap ) - new_val = SGMisc::normalizePeriodic(prot.min, prot.max, new_val); + new_val = SGMisc::normalizePeriodic(prot.min, prot.max, new_val); else new_val = SGMisc::clip(new_val, prot.min, prot.max); } -- 2.39.5