Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
thelfer committed Jul 30, 2024
1 parent bd9ffdc commit 6b7a558
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mfront-query/src/BehaviourQuery.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -586,14 +586,12 @@ namespace mfront {
"no slip system defined");
const auto& ssd = d.getSlipSystems();
const auto nss = ssd.getNumberOfSlipSystemsFamilies();
auto r = size_t{};
for (size_t i = 0; i != nss; ++i) {
const auto os = ssd.getOrientationTensors(i);
const auto ss = ssd.getSlipSystems(i);
for (decltype(ss.size()) j = 0; j != ss.size(); ++j) {
cout << "- " << to_string(ss[j]) << ": " << to_string(os[j])
<< '\n';
++r;
}
}
}});
Expand Down Expand Up @@ -640,14 +638,12 @@ namespace mfront {
"no slip system defined");
const auto& ssd = d.getSlipSystems();
const auto nss = ssd.getNumberOfSlipSystemsFamilies();
auto r = size_t{};
for (size_t i = 0; i != nss; ++i) {
const auto os = ssd.getClimbTensors(i);
const auto ss = ssd.getSlipSystems(i);
for (decltype(ss.size()) j = 0; j != ss.size(); ++j) {
cout << "- " << to_string(ss[j]) << ": " << to_string(os[j])
<< '\n';
++r;
}
}
}});
Expand Down

0 comments on commit 6b7a558

Please sign in to comment.