[aGrUM] bug fixed : fillWith should not rely to label but only index of variable

parent 510af3ad
Pipeline #23628577 passed with stages
in 74 minutes 2 seconds
......@@ -254,7 +254,7 @@ namespace gum {
Instantiation Idst(*this);
for (Isrc.setFirst(); !Isrc.end(); ++Isrc) {
for (Idx i = 0; i < this->nbrDim(); i++) {
Idst.chgVal(Isrc.variable(i).name(), Isrc.variable(i).label(Isrc.val(i)));
Idst.chgVal(Isrc.variable(i).name(), Isrc.val(i));
}
this->set(Idst, src.get(Isrc));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment