Skip to content

Commit

Permalink
refactor: update default value for IronType[Double, Positive] in Form…
Browse files Browse the repository at this point in the history
…s.scala
  • Loading branch information
cheleb committed May 13, 2024
1 parent 00806bf commit e2f441a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ given Defaultable[String] with
* is 0.0.
*/
given Defaultable[IronType[Double, Positive]] with
def default = 1.0.refine[Positive]
def default = 1.0.refineUnsafe[Positive]

/** Validator for [Iron type Double
* positive](https://iltotore.github.io/iron/io/github/iltotore/iron/constraint/numeric$.html#Positive-0).
Expand Down

0 comments on commit e2f441a

Please sign in to comment.