BhallaLab / moose-core

C++ basecode and python scripting interface
https://moose.ncbs.res.in
GNU General Public License v3.0
15 stars 26 forks source link

moose.connect on `y0`, `y1`, etc. is ordered dependant #33

Closed dilawar closed 9 years ago

dilawar commented 9 years ago

Currently, if y1 field is connected before y0 field of a moose.Function, the output of function is not correct. To get the correct output, one has to make sure that all ys are connected in increasing order.

Let me know if a MWE is needed. Probably related to https://github.com/BhallaLab/moose/issues/163

subhacom commented 9 years ago

This is documented behaviour: http://moose.ncbs.res.in/pymoose/moose_cookbook.html#computing-arbitrary-functions-on-the-fly and unrelated to the bug referred to. Changing this behaviour will possibly require modification of FieldElement handling API.