Skip to content

Commit

Permalink
Final type hint update
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhorton committed Sep 25, 2019
1 parent cfa48b7 commit 4391b93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymatgen/analysis/magnetism/analyzer.py
Expand Up @@ -954,7 +954,7 @@ def _generate_transformations(

# we store constraint(s) for each strategy first,
# and then use each to perform a transformation later
all_constraints: Dict[str, List[Any]] = {}
all_constraints: Dict[str, Union[float, List[Any]]] = {}

# ...to which we can add simple AFM cases first...
if "antiferromagnetic" in self.strategies:
Expand Down

0 comments on commit 4391b93

Please sign in to comment.