Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arbor
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
arbor-sim
arbor
Commits
fafcd776
Commit
fafcd776
authored
8 years ago
by
Benjamin Cumming
Browse files
Options
Downloads
Patches
Plain Diff
make model parameters check clearer
parent
b75a0251
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
miniapp/io.hpp
+3
-1
3 additions, 1 deletion
miniapp/io.hpp
with
3 additions
and
1 deletion
miniapp/io.hpp
+
3
−
1
View file @
fafcd776
...
@@ -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
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment