Commit e5935662 authored by Gauthier Quesnel's avatar Gauthier Quesnel
Browse files

core: fix integer type

parent 019d69ed
......@@ -5740,8 +5740,8 @@ struct simulation
template<typename Function>
constexpr status for_all(Function f) noexcept
int i = 0;
constexpr int e = dynamics_type_size();
sz i = 0;
constexpr sz e = dynamics_type_size();
for (; i != e; ++i)
if (auto ret = dispatch(static_cast<dynamics_type>(i), f);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment