Opened 6 years ago

Closed 6 years ago

#22996 closed enhancement (fixed)

change catalan number behaviour at n=-1

Reported by: Frédéric Chapoton Owned by:
Priority: minor Milestone: sage-8.0
Component: combinatorics Keywords:
Cc: Travis Scrimshaw, Jori Mäntysalo, Darij Grinberg Merged in:
Authors: Frédéric Chapoton Reviewers: Travis Scrimshaw
Report Upstream: N/A Work issues:
Branch: 88aced2 (Commits, GitHub, GitLab) Commit: 88aced297016a6e63c7f696ddf490f86cbb1bf47
Dependencies: Stopgaps:

Status badges


to return the correct limit value -1/2 instead of raising a division error

Change History (3)

comment:1 Changed 6 years ago by Frédéric Chapoton

Branch: u/chapoton/22996
Cc: Travis Scrimshaw Jori Mäntysalo Darij Grinberg added
Commit: 88aced297016a6e63c7f696ddf490f86cbb1bf47
Status: newneeds_review

New commits:

88aced2change catalan_number behaviour at n=-1

comment:2 Changed 6 years ago by Travis Scrimshaw

Reviewers: Travis Scrimshaw
Status: needs_reviewpositive_review

LGTM. It is definitely a better outcome that a zero-division error.

comment:3 Changed 6 years ago by Volker Braun

Branch: u/chapoton/2299688aced297016a6e63c7f696ddf490f86cbb1bf47
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.