mex-it icon indicating copy to clipboard operation
mex-it copied to clipboard

mex-it.h fails with Matrices which are NOT of type double

Open fabbra opened this issue 8 years ago • 1 comments

Hi, mex-it.h fails when using matrices which are not of type double. I guess the error is on line 356: sizeof(double) must be replaced by sizeof(T) A similar error needs to be fixed on line 380. Else everything works fine, thanks for this VERY handy function! Cheers, Fab

fabbra avatar Jun 01 '16 13:06 fabbra

Thanks. Yes, I mentioned it only worked for type double but figured it wouldn't be too much effort to extend it beyond. Thanks for offering a solution. I'll try to work it into next rev

audiofilter avatar Jun 02 '16 03:06 audiofilter