Closed elijahrockers closed 8 years ago
function ser{N}(x::Array{Float64,N}, thresh::Float64=0.01)
ser accepts Float64, data is passed as Float32
Looking at the documentation for Julia, maybe some kind of parametric type is needed to accommodate both 32 and 64? idk, a wee bit over my head here
Noticed DCEdata was loaded into MATLAB as a single, I typecast it as a double now.
Glad you found the problem. At some point the code could be adapted to work with singles by making these functions either do the typecasting internally or by widening the call signature to include all floating types, as with the abstract Real
or AbstractFloat
types.