Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilith Hafner authored and Lilith Hafner committed Oct 20, 2023
1 parent 187e884 commit 943eba6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/python/pythoncall.jl
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,8 @@ using DifferentialEquations, PythonCall
sol = de.solve(prob,reltol=1e-3,abstol=1e-3)
""", @__MODULE__)
end

@testset "promotion" begin
_u0 = pyeval("""de.prepare_initial_state([1.0, 0, 0])""", @__MODULE__)
@test _u0 isa Vector{Float64}
end

0 comments on commit 943eba6

Please sign in to comment.