Reverted fix 6d0f490138, but keeping the testcase in the testsuite.

This commit is contained in:
orbitcowboy 2014-06-06 14:44:22 +02:00
parent 0ec59f5630
commit 16352ca674
1 changed files with 1 additions and 1 deletions

View File

@ -1223,7 +1223,7 @@ template<class T> static T getvalue(const int test, const T value1, const T valu
case 2:
return value1;
case 3:
return (T)(value1*0.5 + value2*0.5);
return (value1 + value2) / (T)2;
case 4:
return value2;
case 5: {