Skip to content

Commit 35de5b4

Browse files
committed
fix typos
1 parent 57bafc0 commit 35de5b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/stage1/forward.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ struct TaylorRequired
3838
z₁
3939
z₂
4040
end
41-
function Base.showerror(io::IO, err)
41+
function Base.showerror(io::IO, err::TaylorRequired)
4242
order_str1 = order_str(err.order)
4343
print(io, "In Eras mode all higher order derivatives must be taylor, but encountered one where the taylor requirement z₁ == z₂ was not met.")
4444
println(is, "derivative on $order_str1 path: z₁ = ", err.z₁)

src/stage1/mixed.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function shuffle_down_frule(∂☆p, my_frule, args...)
4343
∂☆p(my_frule, map(shuffle_down, args)...)
4444
end
4545

46-
function (this::∂⃖{N})(::∂☆internal{M}, args::AbstractTangentBundle{1}...) where {N, M, E}
46+
function (this::∂⃖{N})(::∂☆internal{M}, args::AbstractTangentBundle{1}...) where {N, M}
4747
r = this(∂☆shuffle{N}(), args...)
4848
if primal(r) === nothing
4949
return this(∂☆recurse{N}(), args...)

0 commit comments

Comments
 (0)