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
48859831
Commit
48859831
authored
Mar 21, 2013
by
Stefan Philips
Browse files
[FIX] avoid out of bond errors for spherical harmonics with an order greater than 4
parent
7ce9f158
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/core/common/math/WSymmetricSphericalHarmonic.cpp
src/core/common/math/WSymmetricSphericalHarmonic.cpp
+1
-1
No files found.
src/core/common/math/WSymmetricSphericalHarmonic.cpp
View file @
48859831
...
...
@@ -152,7 +152,7 @@ double WSymmetricSphericalHarmonic::calcGFA( std::vector< WUnitSphereCoordinates
double
d
=
0.0
;
double
gfa
=
0.0
;
double
mean
=
0.0
;
double
v
[
15
]
;
std
::
vector
<
double
>
v
(
orientations
.
size
()
)
;
for
(
std
::
size_t
i
=
0
;
i
<
orientations
.
size
();
++
i
)
{
...
...
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