Skip to content
Snippets Groups Projects
Commit 064147b6 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Hash also interpolation_mode for InterpolatorAccess

parent 477785f5
Branches
Tags
No related merge requests found
......@@ -81,7 +81,7 @@ class Interpolator(object):
self.field.field_type = pystencils.field.FieldType.CUSTOM
self.address_mode = address_mode
self.use_normalized_coordinates = use_normalized_coordinates
hash_str = hashlib.md5(f'{self.field}_{address_mode}'.encode()).hexdigest()
hash_str = hashlib.md5(f'{self.field}_{address_mode}_{interpolation_mode}'.encode()).hexdigest()
self.symbol = TypedSymbol('dummy_symbol_carrying_field' + self.field.name + hash_str,
'dummy_symbol_carrying_field' + self.field.name + hash_str)
self.symbol.field = self.field
......
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