Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
pulsipher committed Jun 17, 2024
1 parent 50608f3 commit f3c4fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/array_parameters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ end
@test_throws ErrorException InfiniteOpt._build_parameters(error, [domain1, domain1], inds1, supports = [[0, 0], [2]])
@test_throws ErrorException InfiniteOpt._build_parameters(error, [domain1, domain1], inds1, derivative_method = [2, 2])
# test vector
@test InfiniteOpt._build_parameters(error, [domain1, domain1], inds1).domain == domain1
@test InfiniteOpt._build_parameters(error, [domain1, domain1], inds1).domain isa CollectionDomain
@test InfiniteOpt._build_parameters(error, [domain1, domain1], inds1).supports == Dict{Vector{Float64}, Set{DataType}}()
@test InfiniteOpt._build_parameters(error, [domain1, domain1], inds1, supports = [0, 0]).supports == Dict([0., 0.] => Set([UserDefined]))
@test InfiniteOpt._build_parameters(error, [domain1, domain1], inds1).sig_digits isa Int
Expand Down

0 comments on commit f3c4fc9

Please sign in to comment.