Commit facab4a
committed
Fix method overwriting: merge DeepSplitting constructors
The two separate constructors for Flux.Optimise and Optimisers.jl were
causing a method overwriting error during precompilation. Merged into
a single constructor that works with both optimizer types since the
_get_eta helper already dispatches correctly for both types.1 parent f422bbc commit facab4a
1 file changed
+2
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | 59 | | |
76 | 60 | | |
77 | 61 | | |
| |||
0 commit comments