1 | initial version |
Hi,
I cannot run the code now but I guess there is int overflow in the line 343.
Try to change the emd.cpp like this:
334 long long buffer_size;
...
343 buffer_size = static_cast<long long> (size1+1) * (size2+1) * (sizeof( float ) + /* cost */
Does it solve the problem?