Skip to content
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

Make Connector properties and growth factor configurable #850

Merged
merged 9 commits into from Nov 7, 2017

Conversation

jougs
Copy link
Contributor

@jougs jougs commented Oct 31, 2017

This PR replaces #507. For explanations and discussion see the comments there.

@jougs jougs requested a review from heplesser October 31, 2017 13:38
@jougs jougs added ZC: Kernel DO NOT USE THIS LABEL I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) ZP: PR Created DO NOT USE THIS LABEL S: Normal Handle this with default priority T: Maintenance Work to keep up the quality of the code and documentation. labels Oct 31, 2017
Copy link
Contributor

@heplesser heplesser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jougs Thanks for picking this up! I just have two tiny suggestions. Once those are addressed, we can merge, since @mschmidt87 approved the predecessor #507.

@@ -238,6 +238,7 @@ const Name index_map( "index_map" );
const Name individual_spike_trains( "individual_spike_trains" );
const Name inh_conductance( "inh_conductance" );
const Name init_flag( "init_flag" );
const Name init_connector_capacity( "init_connector_capacity" );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To keep alphabetical order, this one should come before init_flag.

@@ -134,7 +134,7 @@ void
nest::ConnectionManager::set_status( const DictionaryDatum& d )
{
long init_cap = init_conn_capacity_;
if ( updateValue< long >( d, "init_connector_capacity", init_cap ) )
if ( updateValue< long >( d, names::init_connector_capacity, init_cap ) )
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I would change this name to initial_connector_capacity. Just init_... evokes too strong associations to the verb "initialize" and may therefore be confusing.

@heplesser
Copy link
Contributor

Merging now, since @mschmidt87 had approved precursor PR #507 previously and this PR added only minor fixed. Thanks, @jougs and @alexeyshusharin!

@heplesser heplesser merged commit 7829ba3 into nest:master Nov 7, 2017
@jougs jougs deleted the connection_memory branch August 31, 2023 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) S: Normal Handle this with default priority T: Maintenance Work to keep up the quality of the code and documentation. ZC: Kernel DO NOT USE THIS LABEL ZP: PR Created DO NOT USE THIS LABEL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants