Some more fixes, hopefully GCC will stop shitting itself now

This commit is contained in:
Jérôme Leclercq
2020-08-27 23:22:13 +02:00
parent 3fe70476bb
commit 0ff0425045
3 changed files with 6 additions and 6 deletions

View File

@@ -126,7 +126,7 @@ namespace Nz
template<typename T>
void SinCos(std::enable_if_t<std::is_same<T, long double>::value, long double> x, long double* s, long double* c)
{
::sincosl(x, sin, cos);
::sincosl(x, s, c);
}
#else
// Naive implementation, hopefully optimized by the compiler