Skip to content
Snippets Groups Projects
Commit f474f776 authored by Nils Kohl's avatar Nils Kohl 🌝
Browse files

Copying is_absolute_access property in Field.Access::_eval_subs().

parent 0cac3c27
1 merge request!319Resolve "Absolute access is probably not copied correctly after _eval_subs()"
Pipeline #51671 passed with warnings with stages
in 52 minutes and 13 seconds
...@@ -739,6 +739,7 @@ class Field: ...@@ -739,6 +739,7 @@ class Field:
return Field.Access(self.field, return Field.Access(self.field,
tuple(sp.sympify(a).subs(old, new) for a in self.offsets), tuple(sp.sympify(a).subs(old, new) for a in self.offsets),
tuple(sp.sympify(a).subs(old, new) for a in self.index), tuple(sp.sympify(a).subs(old, new) for a in self.index),
is_absolute_access=self.is_absolute_access,
dtype=self.dtype) dtype=self.dtype)
@property @property
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment