Ignore:
Timestamp:
01/26/21 17:41:01 (4 years ago)
Author:
oriona
Message:

Global arrays moved to emd function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/model/similarity/measure-distribution.cpp

    r1054 r1062  
    287287        sig2 = {bin_num, points[1], weights[1]};
    288288
    289         float e = emd(&sig1, &sig2, dist, 0, 0);
     289        float e = emd(&sig1, &sig2, dist, 0, 0, bin_num, bin_num);
    290290       
    291291        for (int i = 0; i < 2; i++)
Note: See TracChangeset for help on using the changeset viewer.