Skip to content

Commit 3880018

Browse files
committed
Debug test failures
1 parent dd38609 commit 3880018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RegisterOptimize.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ function optimize_rigid(fixed, moving, A::AffineMap, maxshift,
100100
MathProgBase.optimize!(m)
101101

102102
stat = MathProgBase.status(m)
103-
stat == :Optimal || @warn("Solution was not optimal")
104103
p = MathProgBase.getsolution(m)
104+
stat == :Optimal || (@warn("Solution was not optimal"); @show p)
105105
fval = MathProgBase.getobjval(m)
106106

107107
p2rigid(p, SD), fval

0 commit comments

Comments
 (0)