From 0797094ccc1f69e51044cfd95c4461437136a4e3 Mon Sep 17 00:00:00 2001 From: sphemakh Date: Wed, 8 Mar 2017 12:27:34 +0200 Subject: [PATCH] Fixes #60 --- Cattery/Calico/OMS/StefCal/GainDiagPhase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cattery/Calico/OMS/StefCal/GainDiagPhase.py b/Cattery/Calico/OMS/StefCal/GainDiagPhase.py index 6b6f186..b076f0a 100644 --- a/Cattery/Calico/OMS/StefCal/GainDiagPhase.py +++ b/Cattery/Calico/OMS/StefCal/GainDiagPhase.py @@ -201,7 +201,7 @@ def iterate (self,lhs,rhs,bitflags,bounds=None,verbose=0,niter=0,weight=None): print "S%d %s:%s"%(step,p,i),"G''",g1[p,i],g1[p,i][verbose_element]; # take difference at second step gaindiff2[p] += square(gnew - gold) - gaindiff2[p][pmask] = 0; + gaindiff2[p][mask] = 0; # apply solution averaging if self.opts.average == 1 or (self.opts.average == 2 and step): gnew += gold;