Skip to content

Commit

Permalink
Merge pull request #32 from Halbaroth/bump-dune-version
Browse files Browse the repository at this point in the history
Bump the minimal version of `Dune` to `3.0`
  • Loading branch information
Halbaroth authored Apr 23, 2024
2 parents 12e7c1f + c2e8ee2 commit d0c0a04
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions dune-project
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(lang dune 2.0)
(lang dune 3.0)
(generate_opam_files true)

(name ocplib-simplex)
Expand All @@ -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))
Expand Down
4 changes: 2 additions & 2 deletions ocplib-simplex.opam
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 0 additions & 3 deletions tests/standalone_minimal_maximization.ml
Original file line number Diff line number Diff line change
@@ -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}

Expand Down

0 comments on commit d0c0a04

Please sign in to comment.