Skip to content

Commit

Permalink
fix: changed threshold data type from float to int (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
JinIgarashi authored Apr 26, 2024
1 parent ade941d commit 4fd3d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cogserver/algorithms/rca.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class RapidChangeAssessment(BaseAlgorithm):

"""Rapid change assessment."""
# parameters
threshold: float = Field(
threshold: int = Field(
default=10, ge=10, le=100,
title="Threshold",
unit="%",
Expand Down

0 comments on commit 4fd3d52

Please sign in to comment.