Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
nifty_gridder
Commits
bb592649
Commit
bb592649
authored
Sep 06, 2019
by
Martin Reinecke
Browse files
add comments regarding strange compiler warnings
parent
145541d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
gridder_cxx.h
View file @
bb592649
...
...
@@ -615,6 +615,8 @@ class GridderConfig
if
(
i2
>=
nu
)
i2
-=
nu
;
size_t
j2
=
nv
-
ny_dirty
/
2
+
j
;
if
(
j2
>=
nv
)
j2
-=
nv
;
// FIXME: for some reason g++ warns about double-to-float conversion
// here, even though there is an explicit cast...
dirty
(
i
,
j
)
=
tmav
(
i2
,
j2
)
*
T
(
cfu
[
i
]
*
cfv
[
j
]);
}
}
...
...
@@ -652,6 +654,8 @@ class GridderConfig
if
(
i2
>=
nu
)
i2
-=
nu
;
size_t
j2
=
nv
-
ny_dirty
/
2
+
j
;
if
(
j2
>=
nv
)
j2
-=
nv
;
// FIXME: for some reason g++ warns about double-to-float conversion
// here, even though there is an explicit cast...
grid
(
i2
,
j2
)
=
dirty
(
i
,
j
)
*
T
(
cfu
[
i
]
*
cfv
[
j
]);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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