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)
404
404
return dense_ad
405
405
end
406
406
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} (
409
409
J. mode,
410
410
J. jvp_op,
411
411
J. vjp_op,
@@ -423,8 +423,8 @@ function Base.copy(J::StatefulJacobianOperator)
423
423
)
424
424
end
425
425
426
- function Base. copy (J:: StatefulJacobianNormalFormOperator )
427
- return StatefulJacobianNormalFormOperator (
426
+ function Base. copy (J:: StatefulJacobianNormalFormOperator{T} ) where {T}
427
+ return StatefulJacobianNormalFormOperator {T} (
428
428
J. vjp_operator === nothing ? nothing : copy (J. vjp_operator),
429
429
J. jvp_operator === nothing ? nothing : copy (J. jvp_operator),
430
430
J. cache === nothing ? nothing : copy (J. cache)
You can’t perform that action at this time.
0 commit comments