File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
lib/SciMLJacobianOperators/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -404,8 +404,8 @@ function get_dense_ad(ad::AutoSparse)
404404 return dense_ad
405405end
406406
407- function Base. copy (J:: JacobianOperator )
408- return JacobianOperator (
407+ function Base. copy (J:: JacobianOperator{iip, T} ) where {iip, T}
408+ return JacobianOperator {iip,T} (
409409 J. mode,
410410 J. jvp_op,
411411 J. vjp_op,
@@ -423,8 +423,8 @@ function Base.copy(J::StatefulJacobianOperator)
423423 )
424424end
425425
426- function Base. copy (J:: StatefulJacobianNormalFormOperator )
427- return StatefulJacobianNormalFormOperator (
426+ function Base. copy (J:: StatefulJacobianNormalFormOperator{T} ) where {T}
427+ return StatefulJacobianNormalFormOperator {T} (
428428 J. vjp_operator === nothing ? nothing : copy (J. vjp_operator),
429429 J. jvp_operator === nothing ? nothing : copy (J. jvp_operator),
430430 J. cache === nothing ? nothing : copy (J. cache)
You can’t perform that action at this time.
0 commit comments