Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Resize Connector vectors when adding connection models #1003
When adding connection models after NEST has been initialised, the vectors containing Connectors (which contains synapses for one particular synapse type) have to be resized, as the number of synapse types have increased. This happens when a module adds a connection model and is dynamically loaded at runtime.
@hakonsbm This looks good, but I have some questions: (i) There are several
register_???_connection_model() methods, including for secondary connections. Do they all in the end call this
register_connection_model_() method so we only need the correction here? (ii) I think the call to
resize_connections() at the end of
modelmodule::init() can and should be removed.