Skip to content

Commit 9966263

Browse files
authored
Fix fields_factory.create_matrix_field (#1396)
Arguments n_lines and n_columns were reversed
1 parent f5a2821 commit 9966263

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/ansys/dpf/core/fields_factory.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ def create_matrix_field(num_entities, num_lines, num_col, location=locations.nod
101101
102102
"""
103103
return _create_field(
104-
server,
105-
natures.matrix,
106-
num_entities,
107-
location,
108-
num_col,
109-
num_lines,
104+
server=server,
105+
nature=natures.matrix,
106+
nentities=num_entities,
107+
location=location,
108+
ncomp_m=num_col,
109+
ncomp_n=num_lines,
110110
)
111111

112112

0 commit comments

Comments
 (0)