Fix MSVC build issue.
MSVC complained about ambiguous "floor" when T=<int>.
This commit is contained in:
parent
f589f2c405
commit
632824e4d8
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ private:
|
|||
if( prot.max > prot.min )
|
||||
{
|
||||
if( prot.wrap )
|
||||
new_val = SGMisc<T>::normalizePeriodic(prot.min, prot.max, new_val);
|
||||
new_val = SGMisc<double>::normalizePeriodic(prot.min, prot.max, new_val);
|
||||
else
|
||||
new_val = SGMisc<T>::clip(new_val, prot.min, prot.max);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue