Skip to content

Commit bb7d42b

Browse files
committed
Fixes Brownian process
1 parent 8784c6e commit bb7d42b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/StochasticProcess.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Generates Brownian motion
2-
BrownianProcess(dx::Real, xend::Real) = WhiteNoise(dx, xend)
2+
BrownianProcess(dx::Real, xend::Real) = cumsum(WhiteNoise(dx, xend))
33

44
# Generates a white noise process
55
function WhiteNoiseProcess(dx::Real, xend::Real)

0 commit comments

Comments
 (0)