Skip to content

Commit e2d8ca4

Browse files
committed
update location for has_init since it's an alg property
1 parent bb1b141 commit e2d8ca4

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/alg_traits.jl

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,15 @@ allows_late_binding_tstops(alg::AbstractODEAlgorithm) = false
299299
"""
300300
$(TYPEDSIGNATURES)
301301
302-
Trait declaration for whether the optimization algorithm supports the `init` interface.
302+
Trait declaration for whether the optimization algorithm supports the `init` interface.
303303
304304
Deprecated as this is not an optimization-specific idea and should use the traits for general caching.
305305
"""
306306
supports_opt_cache_interface(alg) = false
307+
308+
"""
309+
$(TYPEDSIGNATURES)
310+
311+
Trait for specifying whether the passed algorithm supports `init`.
312+
"""
313+
has_init(a::AbstractSciMLAlgorithm) = false

src/integrator_interface.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -569,13 +569,6 @@ end
569569

570570
### Integrator traits
571571

572-
"""
573-
has_init(a::AbstractSciMLAlgorithm)
574-
575-
Trait for specifying whether the passed algorithm supports `init`.
576-
"""
577-
has_init(a::AbstractSciMLAlgorithm) = false
578-
579572
has_reinit(i::DEIntegrator) = false
580573

581574
### Display

0 commit comments

Comments
 (0)