Philip Stuckey
Results
2
comments of
Philip Stuckey
It would be nice to have different "views" on an expression ("Form" seems to already be taken) for doing things like splitting a vector equation into components (`expand` would fit...
I've narrowed down the problem. `JSON3.write` assumes that `StructType.construct(NT,x)` returns an object of type `NT` (in this case `NT==Float64`), and `Unitful` breaks that assumption by defining `Float64(x) = Quantity(Float64(x.val), unit(x))`.