Closed Datseris closed 11 months ago
Hello sir I guess the issue will be fixed by replacing Float64 at https://github.com/JuliaDynamics/ComplexityMeasures.jl/blob/64dc46c86e4b0b3763e9c894e9a0c0b4b749ec40/src/encoding_implementations/rectangular_binning.jl#L163 I have started a PR for it
Closed in #322
Our binnings, such as
RectangularBinning
orFixedRectangularBinning
dispatch on either integers or Float64. However, any float could do. Therefore they should dispatch onInt
or onAbstractFloat
. Especially in the case ofFixedRectangularBinning
it is like that theε
will be computed from data. If that data were e.g. Float32, the dispatch would throw an error.This is as simple as replacing the
Float64
in the code with<:AbstractFloat
.