Skip to content

Commit f8d4e15

Browse files
committed
docstring typo
1 parent c585b61 commit f8d4e15

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/solutions.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
Supertype for solutions of dynamic functions.
55
6-
Concrete subtypes must implement [`(::AbstractDynamicSolution)(t::Real)`](@ref).
6+
Concrete subtypes must implement the method [`AbstractDynamicSolution(::Real)`](@ref).
77
"""
88
abstract type AbstractDynamicSolution end
99

@@ -12,4 +12,6 @@ abstract type AbstractDynamicSolution end
1212
1313
Evaluates a dynamic solution at `τ`.
1414
"""
15-
(::AbstractDynamicSolution)(::Real) = nothing
15+
function (::AbstractDynamicSolution)(::Real)
16+
return nothing
17+
end

0 commit comments

Comments
 (0)