Skip to content

Commit

Permalink
Change default value for size and ratio in Metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhorcas committed Aug 1, 2024
1 parent 0fa9e2d commit 5b70e1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flamapy/core/operations/metrics_operation.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ def get_ratio(collection1: Collection[Any],
def construct_result(name: str,
doc: str,
result: Any,
size: int = 0,
ratio: float = 0.0,
size: Optional[int] = None,
ratio: Optional[float] = None,
parent: Optional[Any] = None,
level: int = 0
) -> dict[str, Any]:
Expand Down

0 comments on commit 5b70e1f

Please sign in to comment.