Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modify degree for Poly([0.0]); polyder #8

Merged
merged 2 commits into from
Jul 7, 2014
Merged

modify degree for Poly([0.0]); polyder #8

merged 2 commits into from
Jul 7, 2014

Conversation

jverzani
Copy link
Member

@jverzani jverzani commented Jul 6, 2014

Two small suggestions:

  • modify degree to return 0 for Poly([0.0]). Otherwise, recent change to * has issues
  • change factorial(i)/factorial(i-order) to prod(i-order+1:i) in polyder to avoid OverFlow error.

Two small suggestions:

* modify degree to return 0 for Poly([0.0]). Otherwise, recent change to * has issues
* change factorial(i)/factorial(i-order) to prod(i-order+1:i) in polyder to avoid OverFlow error.
@Keno
Copy link
Collaborator

Keno commented Jul 6, 2014

Add a testcase, maybe?

@jverzani
Copy link
Member Author

jverzani commented Jul 7, 2014

Good idea! This caused an issue with divrem's check for pNULL. That is now addressed and tests pass.

@Keno
Copy link
Collaborator

Keno commented Jul 7, 2014

Thanks!

Keno added a commit that referenced this pull request Jul 7, 2014
modify degree for Poly([0.0]); polyder
@Keno Keno merged commit 3a01738 into JuliaMath:master Jul 7, 2014
@Keno
Copy link
Collaborator

Keno commented Jul 7, 2014

I've also given you push access to the repository. Feel free to make any reasonable changes. All I'd ask is that the test suite is kept in good passing order.

@jverzani
Copy link
Member Author

jverzani commented Jul 7, 2014

Will do. Thanks again.

On Sun, Jul 6, 2014 at 8:16 PM, Keno Fischer [email protected]
wrote:

I've also given you push access to the repository. Feel free to make any
reasonable changes. All I'd ask is that the test suite is kept in good
passing order.


Reply to this email directly or view it on GitHub
#8 (comment).

John Verzani
Chair, Department of Mathematics
College of Staten Island, CUNY
[email protected]

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.

None yet

2 participants