nmodl icon indicating copy to clipboard operation
nmodl copied to clipboard

Check `count` as a variable name.

Open 1uc opened this issue 1 year ago • 0 comments

This one has high potential of clashing with something. Currently (on some platforms),

x86_64/corenrn/mod2c/variable_names.cpp:576:143: error: ‘count’ was not declared in this scope; did you mean ‘std::count’?
  576 |             nmodl_eigen_f[static_cast<int>(3)] =  -nmodl_eigen_x[static_cast<int>(3)] * nt->_dt * kf1_ - nmodl_eigen_x[static_cast<int>(3)] + count * nt->_dt * kb1_ + old_as;
      |                                                                                                                                               ^~~~~
      |                                                                                                                                               std::count

1uc avatar May 15 '24 11:05 1uc