Commit e5e21bf9 authored by Theo Steininger's avatar Theo Steininger
Browse files

Fixed string comparison bug in Field.power_synthesize

parent 9b074fe0
......@@ -688,7 +688,7 @@ class Field(Loggable, Versionable, object):
if pindex.distribution_strategy is not local_distribution_strategy:
if pindex.distribution_strategy != local_distribution_strategy:
raise AttributeError(
"The distribution_strategy of pindex does not fit the "
"slice_local distribution strategy of the synthesized field.")
Supports Markdown
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