From 9966263be58cabec63b6f97fc028e480820d5963 Mon Sep 17 00:00:00 2001 From: Paul Profizi <100710998+PProfizi@users.noreply.github.com> Date: Mon, 5 Feb 2024 13:58:17 +0100 Subject: [PATCH] Fix fields_factory.create_matrix_field (#1396) Arguments n_lines and n_columns were reversed --- src/ansys/dpf/core/fields_factory.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ansys/dpf/core/fields_factory.py b/src/ansys/dpf/core/fields_factory.py index 3eb113a10e..674a6fa877 100644 --- a/src/ansys/dpf/core/fields_factory.py +++ b/src/ansys/dpf/core/fields_factory.py @@ -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, )