Commit 22f87cc6 authored by Gauthier Quesnel's avatar Gauthier Quesnel
Browse files

core: better detect internal transition

parent 2fcf2535
......@@ -3740,7 +3740,7 @@ struct qss3_integrator
auto& port_x = input_ports.get(x[port_x_dot]);
auto& port_r = input_ports.get(x[port_reset]);
if (port_x.messages.empty() && port_r.messages.empty() && r == 0.0)
if (port_x.messages.empty() && port_r.messages.empty())
irt_return_if_bad(internal());
else {
if (!port_r.messages.empty())
......
Markdown is supported
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