@@ -475,45 +475,6 @@ function ODEFunction{iip,true}(f;
475
475
jvp, vjp, jac_prototype, sparsity, Wfact,
476
476
Wfact_t, paramjac, syms, indepsym, observed, _colorvec)
477
477
end
478
- function ODEFunction {iip,false} (f;
479
- mass_matrix= I,
480
- analytic= nothing ,
481
- tgrad= nothing ,
482
- jac= nothing ,
483
- jvp= nothing ,
484
- vjp= nothing ,
485
- jac_prototype= nothing ,
486
- sparsity= jac_prototype,
487
- Wfact= nothing ,
488
- Wfact_t= nothing ,
489
- paramjac = nothing ,
490
- syms = nothing ,
491
- indepsym = nothing ,
492
- observed = DEFAULT_OBSERVED,
493
- colorvec = nothing ) where iip
494
-
495
- if jac === nothing && isa (jac_prototype, AbstractDiffEqLinearOperator)
496
- if iip
497
- jac = update_coefficients! # (J,u,p,t)
498
- else
499
- jac = (u,p,t) -> update_coefficients! (deepcopy (jac_prototype),u,p,t)
500
- end
501
- end
502
-
503
- if jac_prototype != = nothing && colorvec === nothing && ArrayInterface. fast_matrix_colors (jac_prototype)
504
- _colorvec = ArrayInterface. matrix_colors (jac_prototype)
505
- else
506
- _colorvec = colorvec
507
- end
508
-
509
- ODEFunction{iip,
510
- Any, Any, Any, Any, Any,
511
- Any, Any, Any, Any, Any,
512
- Any, Any, typeof (syms), typeof (indepsym), Any, typeof (_colorvec)}(
513
- f, mass_matrix, analytic, tgrad, jac,
514
- jvp, vjp, jac_prototype, sparsity, Wfact,
515
- Wfact_t, paramjac, syms, indepsym, observed, _colorvec)
516
- end
517
478
ODEFunction {iip} (f; kwargs... ) where iip = ODEFunction {iip,RECOMPILE_BY_DEFAULT} (f; kwargs... )
518
479
ODEFunction {iip} (f:: ODEFunction ; kwargs... ) where iip = f
519
480
ODEFunction (f; kwargs... ) = ODEFunction {isinplace(f, 4),RECOMPILE_BY_DEFAULT} (f; kwargs... )
0 commit comments