Skip to content

Commit 7e903b4

Browse files
authored
Finding the artifact path on initialization improves relocatability (#134)
* Finding the artifact path on initialization improves relocatability * Bump version to 0.14.1
1 parent a436e1a commit 7e903b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ECOS"
22
uuid = "e2685f51-7e38-5353-a97d-a921fd2c8199"
33
repo = "https://github.com/jump-dev/ECOS.jl.git"
4-
version = "0.14.0"
4+
version = "0.14.1"
55

66
[deps]
77
CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82"

src/ECOS.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
module ECOS
1111

1212
import ECOS_jll
13-
const ecos = ECOS_jll.libecos
1413

1514
using CEnum
1615

@@ -35,6 +34,7 @@ end
3534
include("MOI_wrapper/MOI_wrapper.jl")
3635

3736
function __init__()
37+
global ecos = ECOS_jll.libecos
3838
libecos_version = VersionNumber(unsafe_string(ECOS_ver()))
3939
if libecos_version != v"2.0.8"
4040
error(

0 commit comments

Comments
 (0)