Skip to content

Commit

Permalink
Bugfix in parse_properties (#198)
Browse files Browse the repository at this point in the history
* fix parse_properties (avoid throwing an error)
  • Loading branch information
sjunges authored Dec 16, 2024
1 parent 38d173d commit ad46d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/stormpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ def parse_properties(properties, context=None, filters=None):
if context is None:
return core.parse_properties_without_context(properties, filters)
elif type(context) == core.SymbolicModelDescription:
if context.is_prism_program():
if context.is_prism_program:
return core.parse_properties_for_prism_program(properties, context.as_prism_program(), filters)
else:
return core.parse_properties_for_jani_program(properties, context.as_jani_model(), filters)
Expand Down

0 comments on commit ad46d5e

Please sign in to comment.