Closed fgasdia closed 3 years ago
Hi @fgasdia !
Thanks for pointing this out. It is something I want to fix a long time ago but I ended up forgetting. I have a solution, the problem is that it can slow down the precompilation at some points.
Correcting, I cannot make this because the structure is global and based on OptionalData.jl. If it is not fully defined, then we will have type instability. I will update to work with 0.13.3.
Tests of this package error with Interpolations
v0.13.3
but pass withv0.13.2
. The error message is:This can be triggered with
init_space_indices()
. Looking at the source code briefly it's probably the definition https://github.com/JuliaSpace/SatelliteToolbox.jl/blob/0100e74ab187622154de2bc7cc42ac20ad8d8d59/src/earth/space_indices/space_indices.jl#L17-L19I wonder if there is a more general way to handle these Interpolations types while maintaining type stability here. After all, it shouldn't have broken on a patch version update of Interpolations.