Remove/rename default childIndex variable

Issue #172 resolved
Jesper Öqvist created an issue

In the generated inherited equation defining methods there is always a childIndex variable generated even if an equation does not actually use the child index. The below code compiles fine despite childIndex not being declared in the getB parameter list:

eq A.getB().x() = childIndex;

Comments (1)

  1. Jesper Öqvist reporter

    I added a regression test for this (tests/inh/regression_01f), and could not reproduce the problem.

  2. Log in to comment