Commit c03f89eb authored by Houtan Bastani's avatar Houtan Bastani
Browse files

preprocessor: simplify if statement

parent cef58f76
......@@ -719,7 +719,7 @@ DynamicModel::writeModelEquationsOrdered_M(const string &dynamic_basename) const
Uf[eqr] << "+g1(" << eq+1-block_recursive
<< "+Per_J_, " << var+1-block_recursive
<< "+y_size*(it_+" << lag-1 << "))*y(it_+" << lag << ", " << varr+1 << ")";
else if (lag < 0)
else
Uf[eqr] << "+g1(" << eq+1-block_recursive
<< "+Per_J_, " << var+1-block_recursive
<< "+y_size*(it_" << lag-1 << "))*y(it_" << lag << ", " << varr+1 << ")";
......
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