Opened 8 years ago

Closed 7 years ago

#17311 closed defect (fixed)

polynomial_real_mpfr_dense.call() accepts only 1 arg

Reported by: rws Owned by:
Priority: major Milestone: sage-6.4
Component: basic arithmetic Keywords: real, mpfr, substitution
Cc: Merged in:
Authors: Ralf Stephan Reviewers: Marc Mezzarobba
Report Upstream: N/A Work issues:
Branch: a59fe8c (Commits, GitHub, GitLab) Commit: a59fe8caa1f0c7a272cbc1493fb65aac298e9608
Dependencies: Stopgaps:

Status badges

Description

burcin mentions in comment 2 of #9769:

The __call__() function of RR[x] doesn't conform to the generic definition. You should be able to give the parameters as a keyword argument as well. This should be made to work:

sage: R.<x> = RR[]
sage: (x^2+1)(x=5)
26.0000000000000

Change History (4)

comment:1 Changed 8 years ago by rws

  • Branch set to u/rws/polynomial_real_mpfr_dense_call___accepts_only_1_arg

comment:2 Changed 8 years ago by rws

  • Authors set to Ralf Stephan
  • Commit set to a59fe8caa1f0c7a272cbc1493fb65aac298e9608
  • Status changed from new to needs_review

New commits:

a59fe8c17311: pass calls to Polynomial

comment:3 Changed 7 years ago by mmezzarobba

  • Reviewers set to Marc Mezzarobba
  • Status changed from needs_review to positive_review

comment:4 Changed 7 years ago by vbraun

  • Branch changed from u/rws/polynomial_real_mpfr_dense_call___accepts_only_1_arg to a59fe8caa1f0c7a272cbc1493fb65aac298e9608
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.