Skip to content

Commit

Permalink
switch off GAP's info messages late enough
Browse files Browse the repository at this point in the history
Switch off info messages *after* (installing and) loading GAP packages,
since packages may define new info classes which have by default
a nonzero info level.
(This happens for the Recog package.)
  • Loading branch information
ThomasBreuer committed Jun 13, 2024
1 parent d4200b0 commit 5e624ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Oscar.jl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ function __init__()
(GAP.Globals.IsSubgroupFpGroup, FPGroup),
(GAP.Globals.IsGroupOfAutomorphisms, AutomorphismGroup),
])
__GAP_info_messages_off()
# make Oscar module accessible from GAP (it may not be available as
# `Julia.Oscar` if Oscar is loaded indirectly as a package dependency)
GAP.Globals.BindGlobal(GapObj("Oscar"), Oscar)
Expand Down Expand Up @@ -124,6 +123,7 @@ function __init__()
]
GAP.Packages.load(pkg)
end
__GAP_info_messages_off()
__init_group_libraries()

add_verbosity_scope(:K3Auto)
Expand Down

0 comments on commit 5e624ff

Please sign in to comment.