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
6825e3a5
Commit
6825e3a5
authored
9 years ago
by
Ben Cumming
Browse files
Options
Downloads
Patches
Plain Diff
fix range error in forwarding cable constructor
parent
f95e3579
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
src/cell.hpp
+1
-1
1 addition, 1 deletion
src/cell.hpp
with
1 addition
and
1 deletion
src/cell.hpp
+
1
−
1
View file @
6825e3a5
...
...
@@ -101,7 +101,7 @@ namespace nestmc {
void
cell
::
add_cable
(
cell
::
index_type
parent
,
Args
...
args
)
{
// check for a valid parent id
if
(
parent
>
num_segments
())
{
if
(
parent
>
=
num_segments
())
{
throw
std
::
out_of_range
(
"parent index of cell segment is out of range"
);
...
...
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