diff --git a/seastats/__init__.py b/seastats/__init__.py index 64f2a8d..0a5ab85 100644 --- a/seastats/__init__.py +++ b/seastats/__init__.py @@ -186,6 +186,6 @@ def get_stats( if round > 0: for metric in metrics: - stats[metric] = np.round(stats[metric]) + stats[metric] = np.round(stats[metric], round) return stats