Closed kdw503 closed 5 years ago
I think I'm getting the same error when I run tests locally. Here's the message in case it helps. Instead of solving this I'll focus on QuadDIRECT-related stuff for now.
WARNING: could not import Images.separate into RegisterCore
Error During Test at /home/cody/.julia/dev/RegisterOptimize/test/runtests.jl:148
Test threw exception DimensionMismatch("g's length 160 inconsistent with (4, 4, 5)")
Expression: ≈(P * v, vec(Ac[1, :]), atol=0.0001)
DimensionMismatch("g's length 160 inconsistent with (4, 4, 5)")
Stacktrace:
[1] penalty!(::Base.ReinterpretArray{Float64,1,SArray{Tuple{2},Float64,1,2},Array{SArray{Tuple{2},Float64,1,2},1}}, ::Float64, ::Array{GridDeformation{Float64,2,SubArray{SArray{Tuple{2},Float64,1,2},2,Base.ReshapedArray{SArray{Tuple{2},Float64,1,2},3,Base.ReinterpretArray{SArray{Tuple{2},Float64,1,2},1,Float64,Array{Float64,1}},Tuple{}},Tuple{Base.Slice{Base.OneTo{Int64}},Base.Slice{Base.OneTo{Int64}},Int64},true},StepRangeLen{Float64,Base.TwicePrecision{Float64},Base.TwicePrecision{Float64}}},1}) at /home/cody/.julia/packages/RegisterPenalty/Neqrl/src/RegisterPenalty.jl:383
[2] *(::RegisterOptimize.TimeHessian{RegisterOptimize.AffineQHessian{AffinePenalty{Float64,2},SArray{Tuple{2,2},Float64,2,4},3,typeof(identity)},Float64}, ::Array{Float64,1}) at /home/cody/.julia/dev/RegisterOptimize/src/RegisterOptimize.jl:1034
[3] top-level scope at none:0
[4] include at ./boot.jl:317 [inlined]
[5] include_relative(::Module, ::String) at ./loading.jl:1038
[6] include(::Module, ::String) at ./sysimg.jl:29
[7] include(::String) at ./client.jl:398
[8] top-level scope at none:0
[9] eval(::Module, ::Any) at ./boot.jl:319
[10] macro expansion at ./logging.jl:317 [inlined]
[11] exec_options(::Base.JLOptions) at ./client.jl:229
[12] _start() at ./client.jl:432
ERROR: LoadError: There was an error during testing
in expression starting at /home/cody/.julia/dev/RegisterOptimize/test/runtests.jl:148
Yes, I have asked this error to Tim. But, you might not meet this error if you are using just QuadDIRECT registration.
During the test, met this error. This is code to regenerate the error.