Jonnie Diegelman
Jonnie Diegelman
+1 on this. I tried putting it in my `startup.jl` file and apparently Pluto doesn't use that. So then I tried putting an `include("...startup.jl")` statement at the top of my...
Thanks for the tip with the `html"..."` thing, I'll give it a try. I think it would be great to have unified themes for these. Unfortunately I'm having to do...
I ended up making [an issue](https://github.com/JuliaPlots/Plots.jl/issues/3053) for the Plots.jl part. But if the Pluto templates thing happens, that should fix it without having to wait for the Plots one to...
Is this still being considered? I found myself looking for something like this today.
Thanks for the response (and the package!). That’s great to hear.
ComponentArrays can have a heterogeneous mix of types now, so mixed units can work. Here is a similar example: ```julia using ComponentArrays using OrdinaryDiffEq using LinearAlgebra using Unitful function newton(du,...
> Sadly `one(::ComponentVector)` is not implemented so it fails with implicit solvers I don't think `one` is supposed to work with arrays: ```julia julia> a = [1,2,3,4] 4-element Array{Int64,1}: 1...
@cadojo It's trying to compare the unitless value `1e-12` with the values in the state vector and Unitful (rightly) says they're dimensionally incompatible. You can get it to work by...
I should mention, though, that ComponentArrays with mixed types like this will be slow because arrays in general with non-concrete eltypes are slow. For this particular problem, since there are...
On my machine, the times for this problem look like: ``` Baseline: 41.2 seconds Union eltype: 16.0 seconds No units: 11.3 seconds ```