From 537add9db6aba8a17d1a5433613e4de976074010 Mon Sep 17 00:00:00 2001 From: Martijn Visser Date: Wed, 21 Aug 2024 06:16:39 +0200 Subject: [PATCH] Remove unneeded __init__ function (#222) --- src/HiGHS.jl | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/HiGHS.jl b/src/HiGHS.jl index bc4fad9..c86396a 100644 --- a/src/HiGHS.jl +++ b/src/HiGHS.jl @@ -5,15 +5,10 @@ module HiGHS -import HiGHS_jll +import HiGHS_jll: libhighs import MathOptInterface as MOI import SparseArrays -function __init__() - global libhighs = HiGHS_jll.libhighs - return -end - include("gen/libhighs.jl") include("MOI_wrapper.jl") @@ -29,7 +24,6 @@ end import PrecompileTools PrecompileTools.@setup_workload begin - __init__() PrecompileTools.@compile_workload begin let model = MOI.Utilities.CachingOptimizer(