google-research / torchsde

Differentiable SDE solvers with GPU support and efficient sensitivity analysis.
Apache License 2.0
1.52k stars 195 forks source link

Make `dtype` of BrownianInterval constructor an optional argument #26

Closed lxuechen closed 3 years ago

lxuechen commented 3 years ago

Could we make this argument an optional one so that users are freed from typing this in when they explicitly initialize BrownianInterval? An optional could be torch.get_default_dtype().

patrick-kidger commented 3 years ago

Resolved in #28