Project

General

Profile

Bug #1725

resultant: gives wrong answer when should be 0

Added by John Abbott about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Maths Bugs
Target version:
Start date:
05 Mar 2023
Due date:
% Done:

100%

Estimated time:
0.75 h
Spent time:

Description

Here is a smaple input (in CoCoA-5):

/**/ A := x;
/**/ f := (A-1)*(A-2);
/**/ A := 2*x;
/**/ g := (A-1)*(A-2);
/**/ resultant(f,g,x);
6*x -6

Ooops!

History

#1 Updated by John Abbott about 1 year ago

  • Status changed from New to Resolved
  • Assignee set to John Abbott
  • % Done changed from 0 to 80

I have now fixed it. Will add a new exbugs test, and check in.

#2 Updated by John Abbott about 1 year ago

  • % Done changed from 80 to 90

Now I think I have really fixed it!
Also added an exbugs test.
Will check in shortly.

#3 Updated by John Abbott about 1 year ago

  • Status changed from Resolved to Closed
  • % Done changed from 90 to 100
  • Estimated time set to 0.75 h

I have some doubts about correct SubresultanSeq is... it seemed to contain a 0 for one test input (now forgotten).
Anyway, I think resultant is correct, so closing.

Also available in: Atom PDF