Skip to content

Commit 14b761e

Browse files
Update alg_traits.jl
1 parent 3ca9344 commit 14b761e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/alg_traits.jl

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,9 +247,19 @@ end
247247
"""
248248
allows_non_wiener_noise(alg::AbstractSDEAlgorithm)
249249
250-
Trait declaration for whether an algorithm allows for non-additive wiener noise.
250+
Trait declaration for whether an algorithm allows for non-wiener noise.
251251
In general, this is false for any high order (that uses levy areas) or adaptive method.
252252
253253
Defaults to false.
254254
"""
255255
allows_non_wiener_noise(alg::AbstractSDEAlgorithm) = false
256+
257+
"""
258+
requires_additive_noise(alg::AbstractSDEAlgorithm)
259+
260+
Trait declaration for whether an algorithm requires additive noise, i.e. the noise
261+
function is not a function of `u`.
262+
263+
Defaults to false
264+
"""
265+
requires_additive_noise(alg::AbstractSDEAlgorithm) = false

0 commit comments

Comments
 (0)