diff --git a/dune-project b/dune-project index 5e0369b..b33dde5 100644 --- a/dune-project +++ b/dune-project @@ -1,4 +1,4 @@ -(lang dune 2.0) +(lang dune 3.0) (generate_opam_files true) (name ocplib-simplex) @@ -23,7 +23,7 @@ (license "LGPL-2.1-or-later") (depends (ocaml (>= 4.02.0)) - (dune (>= 2.0)) + (dune (>= 3.0)) (ocamlfind (>= 1.9.1)) (zarith :with-test) (logs (>= 0.5.0)) diff --git a/ocplib-simplex.opam b/ocplib-simplex.opam index db68ec6..9fae874 100644 --- a/ocplib-simplex.opam +++ b/ocplib-simplex.opam @@ -19,14 +19,14 @@ doc: "https://ocamlpro.github.io/ocplib-simplex" bug-reports: "https://github.com/OCamlPro/ocplib-simplex/issues" depends: [ "ocaml" {>= "4.02.0"} - "dune" {>= "2.0"} + "dune" {>= "3.0" & >= "3.0"} "ocamlfind" {>= "1.9.1"} "zarith" {with-test} "logs" {>= "0.5.0"} "odoc" {with-doc} ] build: [ - ["dune" "subst"] {pinned} + ["dune" "subst"] {dev} [ "dune" "build" diff --git a/tests/standalone_minimal_maximization.ml b/tests/standalone_minimal_maximization.ml index b19327b..96e5fac 100644 --- a/tests/standalone_minimal_maximization.ml +++ b/tests/standalone_minimal_maximization.ml @@ -1,9 +1,6 @@ - open Simplex let large i = Sim.Core.R2.of_r (Q.of_int i) -let upper i = Sim.Core.R2.upper (Q.of_int i) -let lower i = Sim.Core.R2.lower (Q.of_int i) let bnd r e = {Sim.Core.bvalue = r; explanation = e}