Skip to content

Commit

Permalink
Update Marabou.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-haoze authored Aug 24, 2024
1 parent cbfc73b commit 60c539e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion maraboupy/Marabou.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ def load_query(filename):
Returns:
:class:`~maraboupy.MarabouCore.InputQuery`
"""
return MarabouCore.loadQuery(filename)
query = MarabouCore.InputQuery()
MarabouCore.loadQuery(filename, query)
return query

def solve_query(ipq, filename="", verbose=True, options=None, propertyFilename=""):
"""Function to solve query represented by this network
Expand Down

0 comments on commit 60c539e

Please sign in to comment.