Skip to content

Commit

Permalink
Fix fields_factory.create_matrix_field (#1396)
Browse files Browse the repository at this point in the history
Arguments n_lines and n_columns were reversed
  • Loading branch information
PProfizi authored Feb 5, 2024
1 parent f5a2821 commit 9966263
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/ansys/dpf/core/fields_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ def create_matrix_field(num_entities, num_lines, num_col, location=locations.nod
"""
return _create_field(
server,
natures.matrix,
num_entities,
location,
num_col,
num_lines,
server=server,
nature=natures.matrix,
nentities=num_entities,
location=location,
ncomp_m=num_col,
ncomp_n=num_lines,
)


Expand Down

0 comments on commit 9966263

Please sign in to comment.