From cb1e5ca292e8844d80ca1c46aa997cf5dd85dc19 Mon Sep 17 00:00:00 2001 From: nemu Date: Sat, 13 Nov 2010 08:50:55 +0000 Subject: [PATCH] when comparing current/previous parameters, ignore the phase --- src/external/Nonlocal/PNL_PippardFitter.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/external/Nonlocal/PNL_PippardFitter.cpp b/src/external/Nonlocal/PNL_PippardFitter.cpp index 826903f2..e75701e7 100644 --- a/src/external/Nonlocal/PNL_PippardFitter.cpp +++ b/src/external/Nonlocal/PNL_PippardFitter.cpp @@ -147,7 +147,7 @@ void PNL_PippardFitterGlobal::CalculateField(const std::vector ¶m) { // param: [0] energy, [1] temp, [2] thickness, [3] meanFreePath, [4] xi0, [5] lambdaL, [6] Bext, [7] phase, [8] dead-layer - // check that param are new and hence a calculation is needed + // check that param are new and hence a calculation is needed (except the phase, which is not needed here) Bool_t newParams = false; if (fPreviousParam.size() == 0) { for (UInt_t i=0; i ¶m) assert(param.size() == fPreviousParam.size()); for (UInt_t i=0; i