Fixed the type of mat

Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
Jonathan Shimwell 2022-09-07 18:55:03 +01:00 committed by GitHub
parent 225dc5c43c
commit 494e357a64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,7 +95,7 @@ class Results(list):
def get_atoms(
self,
mat: Material,
mat: Union[Material, str],
nuc: str,
nuc_units: str = "atoms",
time_units: str = "s"