Skip to content

Commit 8b59de3

Browse files
The9CatCopilot
andauthored
Update expui/BiorthBasis.cc
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e4833ff commit 8b59de3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

expui/BiorthBasis.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5103,10 +5103,10 @@ namespace BasisClasses
51035103
// Pack the coefficient data
51045104
for (size_t l=0, c=0; l<ltot; l++) {
51055105
for (size_t n1=0; n1<nmax; n1++) {
5106-
for (size_t n2=n1; n1<nmax; n1++, c++) {
5106+
for (size_t n2=n1; n2<nmax; n2++, c++) {
51075107
std::get<1>(elem[l])(n1, n2) = data(c);
51085108
if (n1 != n2)
5109-
std::get<1>(elem[l])(n1, n2) = std::get<1>(elem[l])(n2, n1);
5109+
std::get<1>(elem[l])(n2, n1) = std::get<1>(elem[l])(n1, n2);
51105110
}
51115111
}
51125112
}

0 commit comments

Comments
 (0)