adjusted util.hybrid_IA function argument
This commit is contained in:
parent
7b158ba108
commit
23743c73d4
|
@ -14,6 +14,7 @@ import pathlib
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import h5py
|
import h5py
|
||||||
|
|
||||||
|
from ._typehints import IntSequence
|
||||||
from . import version
|
from . import version
|
||||||
|
|
||||||
# limit visibility
|
# limit visibility
|
||||||
|
@ -366,7 +367,7 @@ def execution_stamp(class_name: str, function_name: str = None) -> str:
|
||||||
return f'damask.{class_name}{_function_name} v{version} ({now})'
|
return f'damask.{class_name}{_function_name} v{version} ({now})'
|
||||||
|
|
||||||
|
|
||||||
def hybrid_IA(dist: np.ndarray, N: int, rng_seed: Union[int, np.ndarray] = None) -> np.ndarray:
|
def hybrid_IA(dist: np.ndarray, N: int, rng_seed: Union[int, IntSequence] = None) -> np.ndarray:
|
||||||
"""
|
"""
|
||||||
Hybrid integer approximation.
|
Hybrid integer approximation.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue