fprintf(stderr,"ERROR (%s) : Dict %s of maximal capacity %d is full. Saving dict then aborting.\n",ERRINFO,name.c_str(),ProgramParameters::dictCapacity);
fprintf(stderr,"ERROR (%s) : Dict %s of maximal capacity %d is full. Saving dict then aborting.\n",ERRINFO,name.c_str(),dictCapacity);
save();
save();
exit(1);
exit(1);
}
}
...
@@ -420,9 +422,9 @@ unsigned int Dict::addEntry(const std::string & s, const std::vector<float> & em
...
@@ -420,9 +422,9 @@ unsigned int Dict::addEntry(const std::string & s, const std::vector<float> & em