Potential product fails with mingw
The Potential::operator* fails when compiled with MinGW. It throws an exception in hashtable_tpl.h, NotFound for the "*" value.
#include <agrum/BN/BayesNet.h>
using namespace gum;
int main(int argc, char **argv) {
BayesNet<double> bn = BayesNet<double>::fastPrototype("A->B");
gum::Potential<double> jointe;
jointe.fillWith(1);
for (int i = 0; i < 2; ++i)
jointe *= bn.cpt(i);
}
are there hashtables with the "*" strings ? Could multidim/utils/operators/operators4MultiDim_tpl.h be related to hashtables ?