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

Calling BrownianTree with t > t1 returns None #10

Closed
patrick-kidger opened this issue Aug 9, 2020 · 2 comments
Closed

Calling BrownianTree with t > t1 returns None #10

patrick-kidger opened this issue Aug 9, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@patrick-kidger
Copy link
Collaborator

patrick-kidger commented Aug 9, 2020

Repro:

torchsde.BrownianTree(t0=torch.tensor(0.), w0=torch.tensor(0.))(2.)

Not helped by the implicit assumption that t1 = t0 + 1.

@lxuechen lxuechen self-assigned this Aug 9, 2020
@lxuechen lxuechen added the bug Something isn't working label Aug 9, 2020
@lxuechen
Copy link
Collaborator

lxuechen commented Aug 9, 2020

This seems to be an issue caused by t > t1 + safety, where safety is one of the arguments for initialization. I agree that the user shouldn't be obliged to always set the safety factor precisely.

Will send in a fix shortly.

This was referenced Aug 17, 2020
@patrick-kidger
Copy link
Collaborator Author

patrick-kidger commented Aug 18, 2020

Closing as resolved in #28, as querying with t > t1 is no longer possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants