Skip to content

Commit

Permalink
Merge branch 'pyEXPfix' into pySlabSL; improves auto-deduction of dim…
Browse files Browse the repository at this point in the history
…ensions for addFromArray()
  • Loading branch information
Martin D. Weinberg committed Mar 28, 2024
2 parents 6369058 + 50566b3 commit 34f7d30
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 @@ -2735,12 +2735,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 34f7d30

Please sign in to comment.