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
8f8b8c6e
Commit
8f8b8c6e
authored
Jun 18, 2010
by
Stefan Philips
Browse files
[FIX] fixed some spelling mistakes
parent
a5570ee6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/common/math/WSymmetricSphericalHarmonic.cpp
src/common/math/WSymmetricSphericalHarmonic.cpp
+1
-1
No files found.
src/common/math/WSymmetricSphericalHarmonic.cpp
View file @
8f8b8c6e
...
...
@@ -95,7 +95,7 @@ void WSymmetricSphericalHarmonic::applyFunkRadonTransformation()
lj
=
2
*
(
(
j
==
1
)
?
0
:
(
size_t
)(
j
+
2
)
/
4
);
// lj is always even!
factor
=
2.0
*
wmath
::
piDouble
*
static_cast
<
double
>
(
std
::
pow
(
-
1
,
(
lj
/
2
)
)
)
*
static_cast
<
double
>
(
wmath
::
oddFac
ulty
(
lj
)
)
/
static_cast
<
double
>
(
wmath
::
evenFac
ulty
(
lj
)
);
static_cast
<
double
>
(
wmath
::
oddFac
torial
(
lj
)
)
/
static_cast
<
double
>
(
wmath
::
evenFac
torial
(
lj
)
);
// factor = (double) std::pow( -1, ( lj / 2 ) ) * (double)wmath::oddFaculty( lj ) / (double)wmath::evenFaculty( lj );
// std::cerr << "factor: " << factor << std::endl;
// m_SHCoefficients[ j ] = m_SHCoefficients[ j ] * factor;
...
...
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