Skip to content

Commit

Permalink
Reinstate file unlink after model compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
krzywon committed Dec 4, 2024
1 parent 6c10884 commit 8a382c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sasmodels/kerneldll.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def make_dll(source, model_info, dtype=F64, system=False):
# Comment the following to keep the generated C file.
# Note: If there is a syntax error then compile raises an error
# and the source file will not be deleted.
# os.unlink(filename)
os.unlink(filename)
#print("saving compiled file in %r"%filename)
else:
logging.debug("make_dll: cache hit for %s", dll)
Expand Down

0 comments on commit 8a382c5

Please sign in to comment.