mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2025-06-18 15:27:05 +01:00
Function: function call fix
This commit is contained in:
@ -82,10 +82,10 @@ private:
|
||||
template <typename... Ts>
|
||||
double DoubleFunction::operator()(const double arg0, const Ts... args) const
|
||||
{
|
||||
static_assert(static_or<std::is_trivially_assignable<double, Ts>::value...>::value,
|
||||
static_assert(static_or<std::is_convertible<double, Ts>::value...>::value,
|
||||
"DoubleFunction arguments are not compatible with double");
|
||||
|
||||
const double arg[] = {arg0, args...};
|
||||
|
||||
const double arg[] = {arg0, static_cast<double>(args)...};
|
||||
|
||||
checkSize(sizeof...(args) + 1);
|
||||
|
||||
|
Reference in New Issue
Block a user