Skip to content

Commit 1915725

Browse files
authored
Merge pull request achael#191 from achael/achael-patch-1
fix bug in chisqgrad_camp in imager_utils.py
2 parents 966bbf9 + 2ffb4b5 commit 1915725

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ehtim/imaging/imager_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ def chisqgrad_camp(imvec, Amatrices, clamp, sigma):
944944
np.dot(pt2, Amatrices[1]) +
945945
np.dot(pt3, Amatrices[2]) +
946946
np.dot(pt4, Amatrices[3]))
947-
out *= (-2.0/len(clamp)) * np.real(out)
947+
out = (-2.0/len(clamp)) * np.real(out)
948948
return out
949949

950950

0 commit comments

Comments
 (0)