biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rework -Weverything
[alexxy/gromacs.git]
/
src
/
gromacs
/
tables
/
quadraticsplinetable.cpp
diff --git
a/src/gromacs/tables/quadraticsplinetable.cpp
b/src/gromacs/tables/quadraticsplinetable.cpp
index fe90075a99bb738151c3cc5c98ff1327ba0c5c70..7cfc5ec008a94bf7dde48db53c14daa1357571ea 100644
(file)
--- a/
src/gromacs/tables/quadraticsplinetable.cpp
+++ b/
src/gromacs/tables/quadraticsplinetable.cpp
@@
-93,9
+93,9
@@
void fillSingleQuadraticSplineTableData(const std::function<double(double)>& fun
for (int i = endIndex - 1; i >= 0; i--)
{
- double x = i * spacing;
- double tmpFunctionValue;
- double tmpDerivativeValue;
+ double x
= i * spacing;
+ double tmpFunctionValue
= 0
;
+ double tmpDerivativeValue
= 0
;
if (range.first > 0 && i == 0)
{