Skip to content

Commit bbd3aeb

Browse files
authored
Merge pull request #143 from weiyuastro/main
The last parameter of sw.computeSuffStatistics() is 'compute_expVal_tm1_t' not 'apxImgs'.
2 parents 88c225d + 071d6b1 commit bbd3aeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/example_starwarps.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
expVal_t, expVal_t_t, expVal_tm1_t, loglikelihood, apxImgs = sw.computeSuffStatistics(
138138
meanImg, imCov, obs_List, noiseCov_img, newTheta, init_x, init_y,
139139
flowbasis_x, flowbasis_y, initTheta, method=warp_method, measurement=measurement,
140-
interiorPriors=interiorPriors, numLinIters=numLinIters, apxImgs=apxImgs)
140+
interiorPriors=interiorPriors, numLinIters=numLinIters, compute_expVal_tm1_t=apxImgs)
141141

142142
# save the negative log likelihood (nll), the value of the warp parameters (thetas)
143143
# and the evaluation of the optimization function (feval)

0 commit comments

Comments
 (0)