Skip to content

Commit 13512bb

Browse files
committed
Fix measured arguments to discretize_solution
1 parent 13712c8 commit 13512bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/continuous/delta_sol.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ function discretize_solution(solution::SciMLBase.AbstractTimeseriesSolution, tim
2828
@assert "timestamp" names(time_ref) "The dataset B must contain a column named `timestamp`"
2929
return discretize_solution(solution, collect(time_ref[!, "timestamp"]); measured=measured, all_observed=all_observed)
3030
end
31-
function discretize_solution(solution::SciMLBase.AbstractTimeseriesSolution; all_observed=false)
31+
function discretize_solution(solution::SciMLBase.AbstractTimeseriesSolution; measured=nothing, all_observed=false)
3232
container = SymbolicIndexingInterface.symbolic_container(solution)
3333
ref_t_vars = independent_variable_symbols(container)
3434
if length(ref_t_vars) > 1
3535
@error "PDE solutions not currently supported; only one iv is allowed"
3636
end
37-
return discretize_solution(solution, solution[first(ref_t_vars)]; all_observed=all_observed )
37+
return discretize_solution(solution, solution[first(ref_t_vars)]; measured=measured, all_observed=all_observed )
3838
end
3939
function discretize_solution(solution::SciMLBase.AbstractTimeseriesSolution, time_ref::AbstractArray; measured=nothing, all_observed=false)
4040
container = SymbolicIndexingInterface.symbolic_container(solution)

0 commit comments

Comments
 (0)