Skip to content

Commit c161a02

Browse files
Merge pull request #495 from SciML/ChrisRackauckas-patch-6
Test master
2 parents 6b63618 + 8fb6bec commit c161a02

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ stochastic differential equations solvers and utilities. While completely indepe
99
and usable on its own, users interested in using this
1010
functionality should check out [DifferentialEquations.jl](https://github.com/SciML/DifferentialEquations.jl).
1111

12-
1312
## API
1413

1514
StochasticDiffEq.jl is part of the JuliaDiffEq common interface, but can be used independently of DifferentialEquations.jl. The only requirement is that the user passes an StochasticDiffEq.jl algorithm to `solve`. For example, we can solve the [SDE tutorial from the docs](https://diffeq.sciml.ai/stable/tutorials/sde_example/) using the `SRIW1()` algorithm:

test/noindex_tests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Base.axes(x::NoIndexArray) = axes(x.x)
99
Base.similar(x::NoIndexArray, dims::Union{Integer, AbstractUnitRange}...) = NoIndexArray(similar(x.x, dims...))
1010
Base.copyto!(x::NoIndexArray, y::NoIndexArray) = NoIndexArray(copyto!(x.x, y.x))
1111
Base.copy(x::NoIndexArray) = NoIndexArray(copy(x.x))
12+
Base.zero(x::NoIndexArray) = NoIndexArray(zero(x.x))
1213
Base.fill!(x::NoIndexArray, y) = NoIndexArray(fill!(x.x, y))
1314
Base.mapreduce(f, op, x::NoIndexArray; kwargs...) = mapreduce(f, op, x.x; kwargs...)
1415
Base.any(f::Function, x::NoIndexArray; kwargs...) = any(f, x.x; kwargs...)

0 commit comments

Comments
 (0)