We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae78585 commit a2bd6ceCopy full SHA for a2bd6ce
src/ode_tableaus.jl
@@ -81,7 +81,7 @@ end
81
Euler's method.
82
"""
83
function constructEuler(T::Type = Float64)
84
- A = Matrix{T}(1,1)
+ A = Matrix{T}(undef,1,1)
85
A[1] = 0
86
c = [0]
87
α = [1]
@@ -209,7 +209,7 @@ end
209
Implicit Euler Method
210
211
function constructImplicitEuler(T::Type = Float64)
212
213
A[1] = 1
214
c = [1]
215
@@ -223,7 +223,7 @@ end
223
Order 2 Midpoint Method
224
225
function constructMidpointRule(T::Type = Float64)
226
227
A[1] = 1//2
228
c = [1//2]
229
0 commit comments