Opened 4 years ago

Closed 4 years ago

#19835 closed defect (fixed)

bug with rational constructor

Reported by: vdelecroix Owned by:
Priority: critical Milestone: sage-7.0
Component: basic arithmetic Keywords:
Cc: Merged in:
Authors: Vincent Delecroix Reviewers: Jeroen Demeyer
Report Upstream: N/A Work issues:
Branch: 46a7f20 (Commits) Commit: 46a7f20ff87e59e95fe24f85991c3573091b7106
Dependencies: Stopgaps:

Description

sage: QQ((0,-1))
0
sage: QQ((0r, -1r))
Traceback (most recent call last):
...
OverflowError: can't convert negative value to unsigned long

Change History (4)

comment:1 Changed 4 years ago by vdelecroix

  • Authors set to Vincent Delecroix
  • Branch set to u/vdelecroix/19835
  • Commit set to a0aba441ef2c7c02d632ac5b7a09d82daf8182ab
  • Status changed from new to needs_review

New commits:

a0aba44Trac 19835: fix rational initialization

comment:2 Changed 4 years ago by git

  • Commit changed from a0aba441ef2c7c02d632ac5b7a09d82daf8182ab to 46a7f20ff87e59e95fe24f85991c3573091b7106

Branch pushed to git repo; I updated commit sha1. New commits:

46a7f20Trac 19835: doctests

comment:3 Changed 4 years ago by jdemeyer

  • Reviewers set to Jeroen Demeyer
  • Status changed from needs_review to positive_review

comment:4 Changed 4 years ago by vbraun

  • Branch changed from u/vdelecroix/19835 to 46a7f20ff87e59e95fe24f85991c3573091b7106
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.