Fixed a small bug rarely causing type mismatch
Fixed a small bug rarely causing type mismatch

when you use the derivative_extraction function, you are likely to concatenate it with your features, and your features might have a varing number of types which might be sensitive to memory usage.

for example in my project i have a large dataset (which is normal for the use case of this library) which i use float32 as the datatype of it's values, but when i used the derivative_extraction it calculated it's values in float64 and when i concatenated the derivatives and the original features all the values where converted to float64 and the system's memory usage was doubled

this is not that critical and it could be fixed by converting types from outside the library call, but why bother with the inconvenience when changing the datatype from the incoming feature's datatype is not needed.
astorfi/speech_feature_extraction,astorfi/speechpy