Skip to content

Commit

Permalink
Merge pull request #418 from pysmt/i416/script_serialize_daggify
Browse files Browse the repository at this point in the history
Default SMT-LIB Script to daggified serialization
  • Loading branch information
mikand committed Jul 25, 2017
2 parents ca2e836 + bac7051 commit a085125
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pysmt/smtlib/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,11 @@ def get_last_formula(self, mgr=None):

return _And(stack)

def to_file(self, fname, daggify=False):
def to_file(self, fname, daggify=True):
with open(fname, "w") as outstream:
self.serialize(outstream, daggify=daggify)

def serialize(self, outstream, daggify=False):
def serialize(self, outstream, daggify=True):
"""Serializes the SmtLibScript expanding commands"""
if daggify:
printer = SmtDagPrinter(outstream)
Expand Down

0 comments on commit a085125

Please sign in to comment.