Skip to content

Commit

Permalink
accept long version
Browse files Browse the repository at this point in the history
  • Loading branch information
Harrinive committed Feb 11, 2025
1 parent 556a4e8 commit 134386d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qfit/utils/load_reg_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def parseRegDict(
except KeyError:
version = "1.0.0" # the version that we haven't stored the version number

major, minor, micro = version.split(".")
major, minor, micro = version.split(".")[:3]
major, minor, micro = int(major), int(minor), int(micro)

if major == 1 and minor == 0:
Expand Down

0 comments on commit 134386d

Please sign in to comment.