Skip to content
Snippets Groups Projects
Commit fafcd776 authored by Benjamin Cumming's avatar Benjamin Cumming
Browse files

make model parameters check clearer

parent b75a0251
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,9 @@ struct cl_options { ...@@ -16,7 +16,9 @@ struct cl_options {
double dt; double dt;
bool all_to_all; bool all_to_all;
void check() { // TODO the normalize bit should be moved to the model_parameters when
// we start having more models
void check_and_normalize() {
if(all_to_all) { if(all_to_all) {
synapses_per_cell = cells - 1; synapses_per_cell = cells - 1;
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment