Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
verimag
synchrone
lutin
Commits
1907f781
Commit
1907f781
authored
May 26, 2021
by
erwan
Browse files
Update: fix a clash between Stdlib and List compare (since ocaml 4.12)
parent
271d002c
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/lutin/poly_draw.ml
View file @
1907f781
...
...
@@ -614,7 +614,7 @@ let (_draw_point_cheap2 : point list -> point) =
The result is not too bad, but not perfect...
*)
let
ul0
=
List
.
map
(
fun
_
->
Random
.
float
1
.
0
)
(
List
.
tl
zl
)
in
let
ul
=
List
.
sort
compare
ul0
in
let
ul
=
List
.
sort
Stdlib
.
compare
ul0
in
let
(
u_last
,
sl0
)
=
List
.
fold_left
(
fun
(
u'
,
l
)
u
->
(
u
,
(
u
-.
u'
)
::
l
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment