Opened 11 years ago

Closed 11 years ago

#3736 closed defect (fixed)

[with patch, positive review] pairwise_product fails for vectors over CDF

Reported by: mhansen Owned by: malb
Priority: minor Milestone: sage-3.1
Component: commutative algebra Keywords:
Cc: bryan.head@… Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

sage: x = vector(CDF, range(10))
sage: y = vector(CDF, range(10))
sage: x.pa
x.pairwise_product  x.parent            
sage: x.pairwise_product(y)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)

/home/mike/src/combinat/branches/multisort-experiment/combinat/<ipython console> in <module>()

/home/mike/src/combinat/branches/multisort-experiment/combinat/free_module_element.pyx in sage.modules.free_module_element.FreeModuleElement.pairwise_product (sage/modules/free_module_element.c:7363)()

/home/mike/src/combinat/branches/multisort-experiment/combinat/element.pyx in sage.structure.element.Vector._pairwise_product_c (sage/structure/element.c:11073)()

/home/mike/src/combinat/branches/multisort-experiment/combinat/element.pyx in sage.structure.element.Vector._pairwise_product_c_impl (sage/structure/element.c:11134)()

TypeError: unsupported operation for 'Vector space of dimension 10 over Complex Double Field' and 'Vector space of dimension 10 over Complex Double Field'

Attachments (1)

trac_3736.patch (1.9 KB) - added by mhansen 11 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 11 years ago by mhansen

  • Cc bryan.head@… added

Changed 11 years ago by mhansen

comment:2 Changed 11 years ago by mhansen

  • Summary changed from pairwise_product fails for vectors over CDF to [with patch, needs review] pairwise_product fails for vectors over CDF

comment:3 Changed 11 years ago by mabshoff

  • Milestone changed from sage-3.0.6 to sage-3.1.1

comment:4 Changed 11 years ago by robertwb

  • Summary changed from [with patch, needs review] pairwise_product fails for vectors over CDF to [with patch, positive review] pairwise_product fails for vectors over CDF

Works well for me.

comment:5 Changed 11 years ago by mabshoff

  • Milestone changed from sage-3.1.1 to sage-3.1
  • Resolution set to fixed
  • Status changed from new to closed

Merged in Sage 3.1.alpha1

Note: See TracTickets for help on using tickets.