Project

General

Profile

Bug #1656

SEGV in resultant

Added by John Abbott about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Maths Bugs
Target version:
Start date:
29 Jan 2022
Due date:
% Done:

100%

Estimated time:
0.66 h
Spent time:

Description

A quick way to SEGV:

resultant(x^2+1, x/x, x);

Sigh!

Anyone know what the resultant is when either or both polys is zero?
[probably should give error]


Related issues

Related to CoCoALib - Design #1653: Discriminant: return valueClosed2022-01-27

History

#1 Updated by John Abbott about 2 years ago

#2 Updated by John Abbott about 2 years ago

  • Status changed from New to Feedback
  • Assignee set to John Abbott
  • % Done changed from 0 to 90

The problem was in some unrefined code for computing subresultant sequences.
Now it is more robust.

#3 Updated by John Abbott about 2 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 90 to 100
  • Estimated time set to 0.66 h

I have added a test to exbugs.cocoa5 -- the one given in the description.
Closing.

Also available in: Atom PDF