Skip to content

Commit d739e81

Browse files
committed
Fix bug in default transform_deriv error message
1 parent 2b19611 commit d739e81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ end
9595
A matrix describing how differentials on the parameters of `trans` flow through
9696
to the output of transformation `trans` given input `x`.
9797
"""
98-
transform_deriv(::Transformation, x) = error("Differential matrix of parameters of transform $trans with input $x not defined")
98+
transform_deriv(trans::Transformation, x) = error("Differential matrix of parameters of transform $trans with input $x not defined")
9999

100100
transform_deriv_params(::IdentityTransformation, x) = error("IdentityTransformation has no parameters")
101101

0 commit comments

Comments
 (0)