Skip to content

Commit 5019d64

Browse files
authored
fix: fix scientific e notation as string
1 parent 43ac5cd commit 5019d64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hyperpyyaml/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def load_hyperpyyaml(
181181
yaml.constructor.BaseConstructor.construct_object.__defaults__ = (
182182
True,
183183
) # deep=True
184-
hparams = yaml.load(yaml_stream, Loader=yaml.Loader)
184+
hparams = yaml.load(yaml_stream, Loader=ruamel.yaml.Loader)
185185
# Change back to normal default:
186186
yaml.constructor.BaseConstructor.construct_object.__defaults__ = (
187187
False,

0 commit comments

Comments
 (0)