Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce allocations in the Rosenbrock methods
This changes uses of `eye(J) - ....` to `I - ...`. `I`, the `UniformScaling` operator, uses dispatch to perform this calculation without actually allocating the identity matrix, improving the speed in almost every case. Also, in `oderosenbrock` someone had `eye(J)/gamma/hs` ... that's the wrong equation. I fixed it to I/(gamma*hs). That's probably why there was a `#Fix Me!` right above it.
- Loading branch information