Skip to content

Commit 6b3ffa0

Browse files
Update tableau_info.jl
1 parent cbbfd01 commit 6b3ffa0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/tableau_info.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ Base.length(tab::ODERKTableau) = tab.stages
1212
Calculates the stability function from the tableau at `z`. Stable if <1.
1313
1414
```math
15-
r(z) = 1 + z bᵀ(I - zA)⁻¹ 𝟙
15+
r(z) = 1 + z bᵀ(I - zA)⁻¹ e
1616
```
17-
where 𝟙 denotes a vector of ones.
17+
where e denotes a vector of ones.
1818
"""
1919
function stability_region(z,tab::ODERKTableau; embedded=false)
2020
A, c = tab.A, tab.c
2121
b = embedded ? tab.αEEst : tab.α
22-
𝟙 = ones(eltype(A), length(b))
23-
stages = (I - z*A) \ 𝟙
22+
e = ones(eltype(A), length(b))
23+
stages = (I - z*A) \ e
2424
1 + z * (transpose(b) * stages)
2525
end
2626

0 commit comments

Comments
 (0)