Skip to content

Commit 9301b01

Browse files
author
Brad Carman
committed
fixes concrete type
1 parent 9f04501 commit 9301b01

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/systems/inputs.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ function Input(var, data::Vector{<:Real}, time::Vector{<:Real})
3434
return Input(var, SVector{n}(data), SVector{n}(time))
3535
end
3636

37-
struct InputFunctions
37+
struct InputFunctions{S, O}
3838
events::Tuple{SymbolicDiscreteCallback}
3939
vars::Tuple{SymbolicUtils.BasicSymbolic{Real}}
40-
setters::Tuple{SymbolicIndexingInterface.ParameterHookWrapper}
40+
setters::Tuple{SymbolicIndexingInterface.ParameterHookWrapper{S, O}}
4141
end
4242

4343
function InputFunctions(events::Vector, vars::Vector, setters::Vector)

test/inputs.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ vars = @variables begin
1515
end
1616

1717
eqs = [
18-
# equations
1918
D(y) ~ x
2019
]
2120

0 commit comments

Comments
 (0)