Skip to content

Commit

Permalink
bug fix (#4103)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonydellavecchia authored Sep 17, 2024
1 parent 6d184a7 commit 91d2938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Serialization/main.jl
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ function load(io::IO; params::Any = nothing, type::Any = nothing,
end
return loaded
catch e
if VersionNumber(replace(String(file_version), r"DEV.+", "DEV")) > VERSION_NUMBER
if VersionNumber(replace(string(file_version), r"DEV.+" => "DEV")) > VERSION_NUMBER
@warn """
Attempted loading file stored with Oscar version $file_version
using Oscar version $VERSION_NUMBER
Expand Down

0 comments on commit 91d2938

Please sign in to comment.