@@ -353,10 +353,11 @@ IrreducibleDecompositionCollectedHybrid@ := function(rho)
353353 irrep));
354354 parallel := ValueOption(" parallel" );
355355 if IsBoundGlobal(" ParListByFork" ) then
356- ParListByFork := ValueGlobal(" ParListByFork" );
356+ ParListByFork := ValueGlobal(" ParListByFork" );
357357 elif parallel <> fail then
358358 Error(" The GAP package IO must be loaded to use the parallel option!" );
359359 fi ;
360+
360361 if IsInt(parallel) then
361362 irred_decomp := ParListByFork(irreps, do_decompose, rec (NumberJobs := parallel));
362363 elif parallel <> fail then
@@ -404,19 +405,13 @@ InstallMethod( REPN_ComputeUsingSerre, "for linear reps", [ IsGroupHomomorphism
404405 elif parallel <> fail then
405406 Error(" The GAP package IO must be loaded to use the parallel option!" );
406407 fi ;
407- if parallel <> fail then
408- # if the parallel option is set
409- if IsPackageMarkedForLoading(" IO" , " >= 4.7.0" ) then
410- if IsInt(parallel) then
411- irred_decomp := ParListByFork(irreps, do_decompose, rec (NumberJobs := parallel));
412- else
413- # we default the number of jobs to 4 since everyone
414- # has 4 threads, at least
415- irred_decomp := ParListByFork(irreps, do_decompose, rec (NumberJobs := 4 ));
416- fi ;
417- else
418- Error(" I need the package IO >= 4.7.0 to use the parallel option!" );
419- fi ;
408+
409+ if IsInt(parallel) then
410+ irred_decomp := ParListByFork(irreps, do_decompose, rec (NumberJobs := parallel));
411+ elif parallel <> fail then
412+ # we default the number of jobs to 4 since everyone
413+ # has 4 threads, at least
414+ irred_decomp := ParListByFork(irreps, do_decompose, rec (NumberJobs := 4 ));
420415 else
421416 irred_decomp := List(irreps, do_decompose);
422417 fi ;
0 commit comments