Skip to content

Commit

Permalink
Remove the cols<>rows check in the 'rows or columns' check [no ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin D. Weinberg committed Mar 28, 2024
1 parent c52d1be commit 50566b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions expui/BiorthBasis.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2310,12 +2310,12 @@ namespace BasisClasses
bool ambiguous = false;

if (cols==3 or cols==6) {
if (rows>cols or rows != 6 or rows != 3) PosVelRows = false;
if (rows != 3 and rows != 6) PosVelRows = false;
else ambiguous = true;
}

if (rows==3 or rows==6) {
if (cols>rows or cols != 6 or cols != 3) PosVelRows = true;
if (cols != 3 and cols != 6) PosVelRows = true;
else ambiguous = true;
}

Expand Down

0 comments on commit 50566b3

Please sign in to comment.