Skip to content

Commit

Permalink
Remove unneeded __init__ function (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
visr authored Aug 21, 2024
1 parent 1e8a36c commit 537add9
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/HiGHS.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand All @@ -29,7 +24,6 @@ end
import PrecompileTools

PrecompileTools.@setup_workload begin
__init__()
PrecompileTools.@compile_workload begin
let
model = MOI.Utilities.CachingOptimizer(
Expand Down

0 comments on commit 537add9

Please sign in to comment.