We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ade8003 commit f696627Copy full SHA for f696627
cf/field.py
@@ -454,9 +454,8 @@ def __getitem__(self, indices):
454
# below.
455
if org_cyclic:
456
new_cyclic = new_data.cyclic()
457
- for i in org_cyclic:
458
- if i not in new_cyclic:
459
- new.cyclic(i, iscyclic=False)
+ [new.cyclic(i, iscyclic=False) for i in org_cyclic if i not in new_cyclic]
+
460
461
# ------------------------------------------------------------
462
# Subspace constructs with data
0 commit comments