Skip to content
Snippets Groups Projects
Commit 173c0056 authored by Alexis Nasr's avatar Alexis Nasr
Browse files

changed string corresponding to features (feat==val)

parent 7aed1323
No related branches found
No related tags found
No related merge requests found
...@@ -143,6 +143,7 @@ int feat_model_get_feat_value_cff(feat_model *fm, config *c, dico *dico_features ...@@ -143,6 +143,7 @@ int feat_model_get_feat_value_cff(feat_model *fm, config *c, dico *dico_features
fm->string[0] = '\0'; fm->string[0] = '\0';
for(i=0; i < fd->nbelem; i++){ for(i=0; i < fd->nbelem; i++){
strcat(fm->string, fd->array[i]->name); strcat(fm->string, fd->array[i]->name);
strcat(fm->string, "==");
feat_val = fd->array[i]->fct(c); feat_val = fd->array[i]->fct(c);
catenate_int(fm->string, feat_val); catenate_int(fm->string, feat_val);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment