Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add out_of_bounds function

  • Loading branch information...
commit e44561e5a5bb552c06bfb33da2db11621b8dfe7e 1 parent 8415d21
dezyal authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  OCR/Tools.ml
View
3  OCR/Tools.ml
@@ -1,3 +1,6 @@
+let out_of_bounds mtx width height x y =
+ x < 0 || x > width-1 || y < 0 || y > height-1
+
(*
Fonction de comparaison utilisée pour trier des éléments dans un tableau.
Please sign in to comment.
Something went wrong with that request. Please try again.