Commit 52ee46c5 authored by Lynn Garren's avatar Lynn Garren
Browse files

fix warning

parent 086cd091
...@@ -186,7 +186,7 @@ namespace Genfun { ...@@ -186,7 +186,7 @@ namespace Genfun {
void DefiniteIntegral::Clockwork::polint(std::vector<double>::iterator xArray, std::vector<double>::iterator yArray, double x, double & y, double & deltay) const { void DefiniteIntegral::Clockwork::polint(std::vector<double>::iterator xArray, std::vector<double>::iterator yArray, double x, double & y, double & deltay) const {
double dif = fabs(x-xArray[1]),dift; double dif = fabs(x-xArray[1]),dift;
std::vector<double> c(K+1),d(K+1); std::vector<double> c(K+1),d(K+1);
int ns=1; unsigned int ns=1;
for (unsigned int i=1;i<=K;i++) { for (unsigned int i=1;i<=K;i++) {
dift=fabs(x-xArray[i]); dift=fabs(x-xArray[i]);
if (dift<dif) { if (dift<dif) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment