Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ScalFMM
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
List
Boards
Labels
Milestones
Packages
Packages
Container Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
solverstack
ScalFMM
Commits
e9c6352e
Commit
e9c6352e
authored
Jun 21, 2016
by
Quentin Khan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FmmAlgorithmTsm: fix maybe-uninitialized warning
parent
8a568012
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
Utils/noDist/FmmAlgorithmTsm.cpp
Utils/noDist/FmmAlgorithmTsm.cpp
+4
-6
No files found.
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
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