Skip to content

Error message when factoring #24

@hulpke

Description

@hulpke

From an example reported on the support list:

gap> Factors(998582188058818939);
Error, no method found! For debugging hints type ?Recovery from NoMethodFound
Error, no 1st choice method found for `[]' on 2 arguments at /Users/hulpke/gap4/lib/methsel2.g:249 called from
while aFactorsSelectedPositions[i] = aFactorsPoolsize - (NraFactors - i) do
    i := i - 1;
od; at /Users/hulpke/gap4/pkg/FactInt/lib/mpqs.gi:250 called from
MPQSSplit( FactorsList[Pos] ) at /Users/hulpke/gap4/pkg/FactInt/lib/mpqs.gi:533 called from
CallFuncList( FactoringMethod, Arguments
 ) at /Users/hulpke/gap4/pkg/FactInt/lib/general.gi:363 called from
ApplyFactoringMethod( FactorsMPQS, [  ], FactorizationObtainedSoFar,
 MPQSBound, [ "Multiple Polynomial Quadratic Sieve (MPQS)\n",
    "Number to be factored : ", "n" ]
 ); at /Users/hulpke/gap4/pkg/FactInt/lib/general.gi:1015 called from
FactInt( n ) at /Users/hulpke/gap4/pkg/FactInt/lib/general.gi:1102 called from
...  at *stdin*:7
type 'quit;' to quit to outer loop
brk> i;
2
brk> Length(aFactorsSelectedPositions);
1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions