Skip to content

Commit

Permalink
Merge pull request #464 from shkodm/hotfix/runr_geometry
Browse files Browse the repository at this point in the history
Fix RunR geometry
  • Loading branch information
llaniewski authored Nov 22, 2023
2 parents 6ea900a + d030aa1 commit 323924b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Handlers/cbRunR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ SEXP Dollar(std::string name) {
levels[0] = "None";
for (const Model::NodeTypeFlag& it2 : solver->lattice->model->nodetypeflags) {
if (it2.group_id == it.id) {
int idx = 1 + (it2.flag >> it.shift);
int idx = it2.flag >> it.shift;
if (idx < levels.size()) levels[idx] = it2.name;
}
}
Expand Down

0 comments on commit 323924b

Please sign in to comment.