Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
ScalFMM
Commits
e9c6352e
Commit
e9c6352e
authored
Jun 21, 2016
by
Quentin Khan
Browse files
FmmAlgorithmTsm: fix maybe-uninitialized warning
parent
8a568012
Changes
1
Hide whitespace changes
Inline
Side-by-side
Utils/noDist/FmmAlgorithmTsm.cpp
View file @
e9c6352e
...
...
@@ -4,13 +4,13 @@
// This software is a computer program whose purpose is to compute the FMM.
//
// This software is governed by the CeCILL-C and LGPL licenses and
// abiding by the rules of distribution of free software.
//
// abiding by the rules of distribution of free software.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public and CeCILL-C Licenses for more details.
// "http://www.cecill.info".
// "http://www.cecill.info".
// "http://www.gnu.org/licenses".
// ===================================================================================
//
...
...
@@ -221,7 +221,7 @@ struct TempMainStruct{
//
for
(
FSize
idxPart
=
0
;
idxPart
<
nbParticlesInLeaf
;
++
idxPart
){
double
pot
=
0.0
,
xx
,
yy
,
zz
;
FPoint
<
FReal
>
FF
;
FPoint
<
FReal
>
FF
{}
;
for
(
int
idxSrc
=
0
;
idxSrc
<
nbSRC
;
++
idxSrc
){
xx
=
posX
[
idxPart
]
-
tabSrc
[
idxSrc
].
position
.
getX
();
yy
=
posY
[
idxPart
]
-
tabSrc
[
idxSrc
].
position
.
getY
();
...
...
@@ -254,5 +254,3 @@ int main(int argc, char** argv){
FRunIf
::
Run
<
unsigned
int
,
2
,
13
,
1
,
TempMainStruct
>
(
order
,
argc
,
argv
);
return
0
;
}
Write
Preview
Supports
Markdown
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