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
f98898b2
Commit
f98898b2
authored
8 years ago
by
Sam Yates
Browse files
Options
Downloads
Patches
Plain Diff
Various small fixes.
Not sure how this compiled in the other dev environment... nonetheless, should be fixed.
parent
b5cbd968
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
miniapp/miniapp_recipes.cpp
+1
-1
1 addition, 1 deletion
miniapp/miniapp_recipes.cpp
src/cell_group.hpp
+1
-1
1 addition, 1 deletion
src/cell_group.hpp
src/util/ioutil.hpp
+2
-2
2 additions, 2 deletions
src/util/ioutil.hpp
with
4 additions
and
4 deletions
miniapp/miniapp_recipes.cpp
+
1
−
1
View file @
f98898b2
...
...
@@ -56,7 +56,7 @@ public:
-
param_
.
min_connection_delay_ms
};
}
cell_size_type
num_cells
()
const
{
return
ncell_
;
}
cell_size_type
num_cells
()
const
override
{
return
ncell_
;
}
cell
get_cell
(
cell_gid_type
i
)
const
override
{
auto
gen
=
std
::
mt19937
(
i
);
// replace this with hashing generator...
...
...
This diff is collapsed.
Click to expand it.
src/cell_group.hpp
+
1
−
1
View file @
f98898b2
...
...
@@ -52,7 +52,7 @@ public:
void
reset
()
{
remove_samplers
();
initialize_cells
();
for
(
auto
&
spike_source
:
spike_sources
)
{
for
(
auto
&
spike_source
:
spike_sources
_
)
{
spike_source
.
source
.
reset
(
cell_
,
0.
f
);
}
}
...
...
This diff is collapsed.
Click to expand it.
src/util/ioutil.hpp
+
2
−
2
View file @
f98898b2
...
...
@@ -39,11 +39,11 @@ public:
virtual
~
basic_null_streambuf
()
{}
protected
:
virtual
std
::
streamsize
xsputn
(
const
char_type
*
s
,
std
::
streamsize
count
)
{
std
::
streamsize
xsputn
(
const
char_type
*
s
,
std
::
streamsize
count
)
override
{
return
count
;
}
virtual
int_type
overflow
(
char
c
)
{
int_type
overflow
(
int_type
c
)
override
{
return
traits_type
::
not_eof
(
c
);
}
};
...
...
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