job/dispatch: don't unconditionally cast parameters
This commit is contained in:
parent
d941188dd5
commit
45fa54a5ee
@ -54,7 +54,7 @@ namespace util::job {
|
|||||||
for (auto p: param) {
|
for (auto p: param) {
|
||||||
if (!inner_data.extent ().exclusive (p))
|
if (!inner_data.extent ().exclusive (p))
|
||||||
continue;
|
continue;
|
||||||
inner_data[p][0] = std::invoke (func, p.template cast<float> (), inner_args...);
|
inner_data[p][0] = std::invoke (func, p, inner_args...);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user