Skip to content

Commit

Permalink
relocatable: Fix version type
Browse files Browse the repository at this point in the history
  • Loading branch information
tmmsartor committed Jul 26, 2024
1 parent 8b2e5f7 commit 5d54c15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/MadNLPMumps/src/MadNLPMumps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function __init__()
end
end

version() = pkgversion(@__MODULE__)
version = string(pkgversion(@__MODULE__))

setindex(tup,a,n) = (tup[1:n-1]...,a,tup[n+1:end]...)
tzeros(n) = tuple((0 for i=1:n)...)
Expand Down
2 changes: 1 addition & 1 deletion src/MadNLP.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export MadNLPSolver, MadNLPOptions, UmfpackSolver, LDLSolver, CHOLMODSolver, Lap
import LDLFactorizations

# Version info
version() = pkgversion(@__MODULE__)
version() = string(pkgversion(@__MODULE__))
introduce() = "MadNLP version v$(version())"

include("enums.jl")
Expand Down

0 comments on commit 5d54c15

Please sign in to comment.