mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2024-11-10 08:55:37 +00:00
Function: function call fix
This commit is contained in:
parent
c1b8597ecc
commit
da8f394398
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user