Skip to content

Commit 213fb1e

Browse files
jacobmersonCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent b1554b3 commit 213fb1e

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

  • src/pcms/coupler/serializer

‎src/pcms/coupler/serializer/xgc.h‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,8 @@ class XGCFieldSerializer : public FieldSerializer<T>
3434
}
3535

3636
auto data = xgc_field->GetDOFHolderDataHost();
37-
const auto& layout = field.GetLayout();
38-
auto owned = layout.GetOwnedHost();
39-
// Per-holder plan: owned[i]/permutation[i] index holders; a holder's
40-
// num_components values form one contiguous block in the wire buffer.
37+
// Per-holder plan: permutation[i] indexes holders; a holder's num_components
38+
// values form one contiguous block in the wire buffer.
4139
if (buffer.size() > 0) {
4240
const LO num_dof = static_cast<LO>(data.extent(0));
4341
const LO num_comp = static_cast<LO>(data.extent(1));

0 commit comments

Comments
 (0)