Skip to content

Commit 54e5df7

Browse files
authored
Apply suggestions from code review
1 parent 1743ada commit 54e5df7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/serre.gi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,8 @@ IrreducibleDecompositionCollectedHybrid@ := function(rho)
354354
parallel := ValueOption("parallel");
355355
if IsBoundGlobal("ParListByFork") then
356356
ParListByFork := ValueGlobal("ParListByFork");
357-
else
358-
parallel := fail;
357+
elif parallel <> fail then
358+
Error("The GAP package IO must be loaded to use the parallel option!");
359359
fi;
360360
if IsInt(parallel) then
361361
irred_decomp := ParListByFork(irreps, do_decompose, rec(NumberJobs := parallel));
@@ -402,7 +402,7 @@ InstallMethod( REPN_ComputeUsingSerre, "for linear reps", [ IsGroupHomomorphism
402402
if IsBoundGlobal("ParListByFork") then
403403
ParListByFork := ValueGlobal("ParListByFork");
404404
elif parallel <> fail then
405-
Error("I need the package IO >= 4.7.0 to use the parallel option!");
405+
Error("The GAP package IO must be loaded to use the parallel option!");
406406
fi;
407407
if parallel <> fail then
408408
# if the parallel option is set

0 commit comments

Comments
 (0)