Opened 12 years ago

Closed 12 years ago

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

Reported by: Owned by: mhansen malb minor sage-3.1 commutative algebra bryan.head@…

### 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'

### comment:2 Changed 12 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 12 years ago by mabshoff

• Milestone changed from sage-3.0.6 to sage-3.1.1

### comment:4 Changed 12 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 12 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.