-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Review Configf::find() and its use. #160
Labels
Milestone
Comments
stuart-knock
added a commit
to stuart-knock/nftsim
that referenced
this issue
Apr 3, 2018
This is a work-around for a long-standing bug in CouplingRamp. It works by conforming to the expectations of Coupling::nuinit. The proximal cause of the bug was that CouplingRamp had set a label, "nus", that was incompatible with the label, "nu", that was expected by Coupling::nuinit -- which CouplingRamp inherits. However, ultimately, the difficulty identifying the source of the bug was unexpected behaviour of Configf::find(), for which a new issues has been added: BrainDynamicsUSYD#160.
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The member function
Configf::find()
can match akey
that does not belong to the specified<unique>
component of theCheck
string. Note, this issue contributed to the difficulty in resolving issue #101.Based on the description in the member function,
Configf::find()
should probably be modified to not search past the end of the line containing<unique>
, but this needs to be reviewed.NOTE: The fix in #163 obscures one issue related to
Configf::find()
. In the minimal example given in #101, with one single population and one single coupling. When usingCouple::Ramp
, that had thekey
nus
before #163, andConfig::find()
was searching forkey
nu
, the simulation still ran without segmentation errors or any other errors. There were obvious differences in the resulting timeseries of thePropagator.phi.1
, but no differences in the timeseries ofCoupling.nu.1
.What this implies is that the member function
Coupling::nuinit()
, which usesConfigf::find()
, was initializingnu
to some value. Whatever this value was, it was passed and used inDendrite
.Again, #163 gets rids of the numerical differences observed in the output data, but it does not get rid of variable initialization issues. See #164.
The text was updated successfully, but these errors were encountered: