Skip to content

Commit

Permalink
add StructType definition for VersionNumber
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiq committed Mar 14, 2024
1 parent 81283de commit 011e889
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/results.jl
Original file line number Diff line number Diff line change
Expand Up @@ -701,12 +701,15 @@ end
#
# Functions to save the results to a file
#
# These definitions are probably not necessary for StructTypes >= 1.10.0
#
StructTypes.StructType(::Type{AtomSelection}) = StructTypes.Struct()
StructTypes.StructType(::Type{Result}) = StructTypes.Struct()
StructTypes.StructType(::Type{Density}) = StructTypes.Struct()
StructTypes.StructType(::Type{Volume}) = StructTypes.Struct()
StructTypes.StructType(::Type{Options}) = StructTypes.Struct()
StructTypes.StructType(::Type{TrajectoryFileOptions}) = StructTypes.Struct()
StructTypes.StructType(::Type{VersionNumber}) = StructTypes.Struct()

"""
save(R::Result, filename::String)
Expand Down

0 comments on commit 011e889

Please sign in to comment.