Skip to content

Commit

Permalink
error instead of throw
Browse files Browse the repository at this point in the history
Co-Authored-By: sebasguts <gutsche@mathematik.uni-siegen.de>
  • Loading branch information
fingolfin and sebasguts committed Nov 5, 2018
1 parent da0f539 commit ea5ec3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LibGAP.jl/src/initialization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ gap_is_initialized = false
run_it = function(gapdir::String)
global sysinfo, gap_is_initialized
if gap_is_initialized
throw(ErrorException("GAP already initialized"))
error("GAP already initialized")
end
sysinfo = read_sysinfo_gap(gapdir)
println("Adding path ", gapdir * "/.libs", " to DL_LOAD_PATH")
Expand Down

0 comments on commit ea5ec3e

Please sign in to comment.