Skip to content

Commit

Permalink
re-add Random as test dependency to make CI happy
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed May 23, 2023
1 parent 557884f commit 5634de6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/JuliaInterface/gap/adapter.gi
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ InstallMethod( State,
InstallMethod( Init,
[ "IsRandomSourceJulia", "IsObject" ],
function( rng, seed )
JuliaEvalString( "import GAP.Random" );
JuliaEvalString( "import Random" );
if IsInt( seed ) then
# This means a prescribed seed.
seed:= AbsInt( seed );
Expand Down Expand Up @@ -184,7 +184,7 @@ InstallMethod( Reset,
local old;

old:= State( rng );
JuliaEvalString( "import GAP.Random" );
JuliaEvalString( "import Random" );
if IsInt( seed ) then
# This means a prescribed seed.
seed:= AbsInt( seed );
Expand Down
1 change: 1 addition & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]

0 comments on commit 5634de6

Please sign in to comment.