Skip to content

Commit

Permalink
removed callable
Browse files Browse the repository at this point in the history
  • Loading branch information
RemDelaporteMathurin committed Oct 19, 2023
1 parent bbd764c commit 8325bf6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions festim/species.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import List, Union, Callable
from typing import List


class Species:
Expand Down Expand Up @@ -72,7 +72,7 @@ class ImplicitSpecies:
c = n - others
Args:
n (float, Callable): the total concentration of the species
n (float): the total concentration of the species
others (List[Species]): the list of species from which the implicit
species concentration is computed (c = n - others)
name (str, optional): a name given to the species. Defaults to None.
Expand All @@ -88,7 +88,7 @@ class ImplicitSpecies:

def __init__(
self,
n: Union[float, Callable],
n: float,
others: List[Species] = None,
name: str = None,
) -> None:
Expand Down

0 comments on commit 8325bf6

Please sign in to comment.