Skip to content

Commit

Permalink
Merge pull request #498 from fthomas/topic/alwaysValid
Browse files Browse the repository at this point in the history
Use Inference.alwaysValid
  • Loading branch information
fthomas authored May 3, 2018
2 parents 0820f10 + 2428036 commit d15f7f4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ private[refined] trait NumericInference {
Inference(ta() > tb(), s"greaterInferenceNat(${ta()}, ${tb()})")

implicit def greaterEqualInference[A]: Greater[A] ==> GreaterEqual[A] =
Inference(true, "greaterEqualInference")
Inference.alwaysValid("greaterEqualInference")

implicit def lessEqualInference[A]: Less[A] ==> LessEqual[A] =
Inference(true, "lessEqualInference")
Inference.alwaysValid("lessEqualInference")
}

0 comments on commit d15f7f4

Please sign in to comment.