Skip to content

fix: various problems in TakeContent and related functions#814

Open
jodavies wants to merge 1 commit intoform-dev:masterfrom
jodavies:non-symbol-takecontent
Open

fix: various problems in TakeContent and related functions#814
jodavies wants to merge 1 commit intoform-dev:masterfrom
jodavies:non-symbol-takecontent

Conversation

@jodavies
Copy link
Copy Markdown
Collaborator

TakeContent did not correctly remove function content from the terms, it got stuck in infinite loops in several cases. MergeDotproductLists got stuck in infinite loops, missed tail cases, and produced a mal-formed result.

In some of these cases, the poly class proceeded to compute a gcd anyway (since the non-symbol objects are converted to extrasymbols). The flint interface Terminated, since it anticipates content-free input and checks this.

TakeContent did not correctly remove function content from the terms, it got
stuck in infinite loops in several cases. MergeDotproductLists got stuck
in infinite loops, missed tail cases, and produced a mal-formed result.

In some of these cases, the poly class proceeded to compute a gcd anyway
(since the non-symbol objects are converted to extrasymbols). The flint
interface Terminated, since it anticipates content-free input and checks
this.
@jodavies
Copy link
Copy Markdown
Collaborator Author

This one certainly needs some more eyes on it, and probably more test cases.

@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 58.712% (+0.3%) from 58.43%
when pulling 40204f6 on jodavies:non-symbol-takecontent
into c549571 on form-dev:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants