Skip to content

Commit

Permalink
Updated for change to IS.prepare_for_serialization.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-thom committed Oct 20, 2019
1 parent 144f371 commit 904c2bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base.jl
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ end
Serializes a system to a JSON string.
"""
function to_json(sys::System, filename::AbstractString)
IS.prepare_for_serialization(sys.data, filename)
IS.prepare_for_serialization!(sys.data, filename)
return IS.to_json(sys, filename)
end

Expand Down

0 comments on commit 904c2bb

Please sign in to comment.