Skip to content

Commit d0c0a04

Browse files
authored
Merge pull request #32 from Halbaroth/bump-dune-version
Bump the minimal version of `Dune` to `3.0`
2 parents 12e7c1f + c2e8ee2 commit d0c0a04

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

dune-project

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(lang dune 2.0)
1+
(lang dune 3.0)
22
(generate_opam_files true)
33

44
(name ocplib-simplex)
@@ -23,7 +23,7 @@
2323
(license "LGPL-2.1-or-later")
2424
(depends
2525
(ocaml (>= 4.02.0))
26-
(dune (>= 2.0))
26+
(dune (>= 3.0))
2727
(ocamlfind (>= 1.9.1))
2828
(zarith :with-test)
2929
(logs (>= 0.5.0))

ocplib-simplex.opam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ doc: "https://ocamlpro.github.io/ocplib-simplex"
1919
bug-reports: "https://github.com/OCamlPro/ocplib-simplex/issues"
2020
depends: [
2121
"ocaml" {>= "4.02.0"}
22-
"dune" {>= "2.0"}
22+
"dune" {>= "3.0" & >= "3.0"}
2323
"ocamlfind" {>= "1.9.1"}
2424
"zarith" {with-test}
2525
"logs" {>= "0.5.0"}
2626
"odoc" {with-doc}
2727
]
2828
build: [
29-
["dune" "subst"] {pinned}
29+
["dune" "subst"] {dev}
3030
[
3131
"dune"
3232
"build"

tests/standalone_minimal_maximization.ml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
21
open Simplex
32

43
let large i = Sim.Core.R2.of_r (Q.of_int i)
5-
let upper i = Sim.Core.R2.upper (Q.of_int i)
6-
let lower i = Sim.Core.R2.lower (Q.of_int i)
74

85
let bnd r e = {Sim.Core.bvalue = r; explanation = e}
96

0 commit comments

Comments
 (0)