Bug report in function sage.groups.generic.bsgs

asked 2022-02-27 14:49:31 +0100

DuanYuFi gravatar image

updated 2022-02-27 15:36:34 +0100

slelievre gravatar image

In sage/groups/generic.py, line 468, multiple is missing some arguments.

That makes the bsgs calculation in customized group raise ValueError.

Adding the missing arguments is enough to fix this bug, like this:

c = op(inverse(b), multiple(a, lb,
                            operation=operation,
                            identity=identity,
                            inverse=inverse,
                            op=op))
edit retag flag offensive close merge delete

Comments

Welcome to Ask Sage! Thank you for your question.

slelievre gravatar imageslelievre ( 2022-02-27 15:31:56 +0100 )edit

Congratulations for spotting this bug. Can you also provide a simple example to illustrate it?

slelievre gravatar imageslelievre ( 2022-02-27 15:38:06 +0100 )edit
1

To submit a fix, you can send a merge request to the SageMath repository on GitLab:

or submit a branch to the SageMath repository on Sage Trac:

Would you like help to do that?

slelievre gravatar imageslelievre ( 2022-02-27 15:40:44 +0100 )edit

Oh yeah, thanks Mr./Mrs. Slelievre, I'll report it on GitLab

DuanYuFi gravatar imageDuanYuFi ( 2022-02-28 03:21:47 +0100 )edit