Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
3b0dfafb
Commit
3b0dfafb
authored
Feb 13, 2013
by
Mathias Goldau
Browse files
[STYLE
#42
]
parent
dc718335
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/core/common/WHistogramBasic.cpp
src/core/common/WHistogramBasic.cpp
+1
-1
No files found.
src/core/common/WHistogramBasic.cpp
View file @
3b0dfafb
...
...
@@ -91,7 +91,7 @@ void WHistogramBasic::insert( double value )
{
m_bins
.
at
(
m_nbBuckets
-
1
)
++
;
}
else
if
(
value
>=
(
m_maximum
-
m_intervalWidth
)
&&
value
<=
m_maximum
)
// last b
ucket
deserves extra treatment due to poss
i
bl
e
out of bounds index
else
if
(
value
>=
(
m_maximum
-
m_intervalWidth
)
&&
value
<=
m_maximum
)
// last b
in
deserves extra treatment due to possbl out of bounds index
{
m_bins
.
at
(
m_nbBuckets
-
1
)
++
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment