Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export base #137

Open
ArnoStrouwen opened this issue Dec 12, 2022 · 3 comments
Open

export base #137

ArnoStrouwen opened this issue Dec 12, 2022 · 3 comments

Comments

@ArnoStrouwen
Copy link
Member

using DiffEqNoiseProcess
#using DifferentialEquations
u0 = rand(2)
tgrid = 0.0:0.1:10.0
brownian_noise = randn(length(u0)*(length(tgrid)-1))
brownian_noise = reshape(brownian_noise,length(u0),length(tgrid)-1)
brownian_noise = vcat([zeros(length(u0))], [c for c in eachcol(brownian_noise)])
W = NoiseGrid(tgrid,brownian_noise)
prob = NoiseProblem(W, (tgrid[begin], tgrid[end]))

ERROR: UndefVarError: NoiseProblem not defined

@frankschae
Copy link
Member

This seems to be the code example from #136.

@ArnoStrouwen
Copy link
Member Author

The using using DifferentialEquations is commented out, leading to a different error.

@frankschae
Copy link
Member

oh true -- you're right. Sorry for that! (I ran them straight after each other.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants