Opened 8 years ago

Closed 7 years ago

#14679 closed defect (duplicate)

hurwitz_zeta() function does not handles negative inputs correctly

Reported by: tmonteil Owned by: sage-combinat
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: combinatorics Keywords: maxima, hurwitz
Cc: Merged in:
Authors: Frédéric Chapoton Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


The following behaviour has been reported on

sage: hurwitz_zeta(-3,1,32)
  File "<string>", line 0
SyntaxError: unexpected EOF while parsing

Note that the documentation allows the first two arguments of the to hurwitz_zeta() function be real numbers. I put it to the "combinatorics" component since this function is defined in /sage/combinat/

Attachments (1)

trac_14679.patch (3.6 KB) - added by chapoton 8 years ago.

Download all attachments as: .zip

Change History (9)

Changed 8 years ago by chapoton

comment:1 Changed 8 years ago by chapoton

  • Keywords hurwitz added
  • Status changed from new to needs_review

here is first try, please review !

comment:2 Changed 8 years ago by jdemeyer

  • Milestone changed from sage-5.11 to sage-5.12

comment:3 Changed 8 years ago by chapoton

  • Authors set to Frédéric Chapoton

comment:4 Changed 8 years ago by eviatarbach

#15095 implements a symbolic version of hurwitz_zeta, with numeric evaluation handled by mpmath instead of Maxima. When that's merged this patch would be unnecessary. Frédéric, maybe you can help with reviewing #15095?

comment:5 Changed 7 years ago by ncohen

  • Status changed from needs_review to needs_info

Should this be closed as a duplicate then ?


comment:6 Changed 7 years ago by chapoton

  • Milestone changed from sage-6.1 to sage-duplicate/invalid/wontfix
  • Status changed from needs_info to needs_review

Ok, now that #15095 is done, I propose to close this as duplicate.

Nathann, Eviatar or Jeroen, if you agree, please set this to positive review.

comment:7 Changed 7 years ago by eviatarbach

  • Status changed from needs_review to positive_review

comment:8 Changed 7 years ago by vbraun

  • Resolution set to duplicate
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.