Open s-c-e opened 5 years ago
Some of the values for this option are updepth, downdepth, upfewest, downfewest.
The code to distinguish the up/down direction seems to depend on the parity of the integer representing the option value, but this is the code:
int way = (((nodeStrategy - 1) % 1) == 1) ? -1 : +1; babModel_->setPreferredWay(way);
It seems that this should instead be:
int way = (((nodeStrategy - 1) % 2) == 1) ? -1 : +1; babModel_->setPreferredWay(way);
Some of the values for this option are updepth, downdepth, upfewest, downfewest.
The code to distinguish the up/down direction seems to depend on the parity of the integer representing the option value, but this is the code:
int way = (((nodeStrategy - 1) % 1) == 1) ? -1 : +1; babModel_->setPreferredWay(way);
It seems that this should instead be:
int way = (((nodeStrategy - 1) % 2) == 1) ? -1 : +1; babModel_->setPreferredWay(way);