Skip to content

Commit

Permalink
Fix CastemInterface. You shall always run make check before making a …
Browse files Browse the repository at this point in the history
…pull-request, @mawence-wz
  • Loading branch information
thelfer committed Jun 26, 2024
1 parent 4b0b4cb commit b9aa43f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mfront/src/CastemInterface.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2386,7 +2386,7 @@ namespace mfront {
tmp += pv.getExternalName();
tmp += ": " + treatScalar(pv.name) + "\n";
} else {
for (unsigned short j = 0; j != pv.arraySize;) {
for (unsigned short j = 0; j != pv.arraySize; ++j) {
tmp += pv.getExternalName();
tmp += ": " + treatScalar(pv.name, j) + "\n";
}
Expand All @@ -2396,7 +2396,7 @@ namespace mfront {
tmp += pv.getExternalName();
tmp += ": " + treatTVector(h, pv.name);
} else {
for (unsigned short j = 0; j != pv.arraySize;) {
for (unsigned short j = 0; j != pv.arraySize; ++j) {
tmp += pv.getExternalName();
tmp += ": " + treatTVector(h, pv.name, j) + "\n";
}
Expand All @@ -2406,7 +2406,7 @@ namespace mfront {
tmp += pv.getExternalName();
tmp += ": " + treatStensor(h, pv.name) + "\n";
} else {
for (unsigned short j = 0; j != pv.arraySize;) {
for (unsigned short j = 0; j != pv.arraySize; ++j) {
tmp += pv.getExternalName();
tmp += ": " + treatStensor(h, pv.name, j) + "\n";
}
Expand All @@ -2416,7 +2416,7 @@ namespace mfront {
tmp += pv.getExternalName();
tmp += ": " + treatTensor(h, pv.name) + "\n";
} else {
for (unsigned short j = 0; j != pv.arraySize;) {
for (unsigned short j = 0; j != pv.arraySize; ++j) {
tmp += pv.getExternalName();
tmp += ": " + treatTensor(h, pv.name, j) + "\n";
}
Expand Down Expand Up @@ -2450,7 +2450,7 @@ namespace mfront {
tmp += pm.getExternalName();
tmp += ": " + treatScalar(pm.name) + "\n";
} else {
for (unsigned short j = 0; j != pm.arraySize;) {
for (unsigned short j = 0; j != pm.arraySize; ++j) {
tmp += pm.getExternalName();
tmp += treatScalar(pm.name, j) + "\n";
}
Expand Down

0 comments on commit b9aa43f

Please sign in to comment.