Skip to content

Commit 64f7b76

Browse files
cwoolfo1Copilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent d78049d commit 64f7b76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PyPIC3D/diagnostics/openPMD.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def _fields_to_interior_map(fields):
104104
if (
105105
isinstance(extra, (list, tuple))
106106
and len(extra) == 2
107-
and all(isinstance(memory, (list, tuple)) and len(memory) == 3 for memory in extra)
107+
and all(isinstance(memory, (list, tuple)) and len(memory) == 6 for memory in extra)
108108
):
109109
# PML memory is solver state, not a physical diagnostic field.
110110
continue

0 commit comments

Comments
 (0)