VEC: use the Square type for inRange

This commit is contained in:
2014-11-13 23:04:26 +01:00
parent c765c63125
commit b1280ac958
3 changed files with 7 additions and 6 deletions

View File

@@ -138,4 +138,4 @@ maybeDiag b d
filterValidPT :: DiagProp -> [PT] -> [PT]
filterValidPT p = filter (inRange (dX p) (dY p))
filterValidPT p = filter (inRange (dX p, dY p))