Skip to content

Commit

Permalink
Fix error string
Browse files Browse the repository at this point in the history
  • Loading branch information
runame committed May 29, 2024
1 parent 27a9095 commit f2ed651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion curvlinops/kfac.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def __init__(
if fisher_type != FisherType.MC and mc_samples != 1:
raise ValueError(
f"Invalid mc_samples: {mc_samples}. "
"Only mc_samples=1 is supported for fisher_type != 'mc'."
"Only mc_samples=1 is supported for `fisher_type != FisherType.MC`."
)
if kfac_approx not in self._SUPPORTED_KFAC_APPROX:
raise ValueError(
Expand Down

0 comments on commit f2ed651

Please sign in to comment.