Commit 887a34f
Fix init_χ! to be type-correct and GPU-compatible
- Add Random to [deps] so rand! is explicitly available
so it works correctly for non-Float64 arrays and GPU arrays1 parent 157e080 commit 887a34f
3 files changed
Lines changed: 5 additions & 4 deletions
File tree
- lib/StochasticDiffEqROCK
- src
- perform_step
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1847 | 1847 | | |
1848 | 1848 | | |
1849 | 1849 | | |
1850 | | - | |
1851 | | - | |
1852 | | - | |
1853 | | - | |
| 1850 | + | |
| 1851 | + | |
1854 | 1852 | | |
1855 | 1853 | | |
1856 | 1854 | | |
0 commit comments