Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#4526 closed defect (fixed)

[with patch, positive review] Can't multiply symmetric functions by 0

Reported by: jbandlow Owned by: mhansen
Priority: major Milestone: sage-3.2
Component: combinatorics Keywords: symmetric functions
Cc: jbandlow, sage-combinat Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by mabshoff)

The following, which should just return 0 in SFASchur(QQ), is really nasty:

sage: s = SFASchur(QQ)
sage: 0 * s([1])
sage.bin: : Unknown error 155689240

and sage quits.

Attachments (1)

trac_4526.patch (1.0 KB) - added by mhansen 14 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 14 years ago by jbandlow

arg... I meant

sage: s = SFASchur(QQ)
sage: 0 * s([1])

of course.

comment:2 Changed 14 years ago by mabshoff

  • Description modified (diff)
  • Milestone set to sage-3.2.1

FYI: the error message comes out of symmertrica. And:

----------------------------------------------------------------------
| Sage Version 3.2.rc0, Release Date: 2008-11-10                     |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
/scratch/mabshoff/release-cycle/sage-3.2.rc1/local/bin/sage-ipython
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

[Thread debugging using libthread_db enabled]
[New Thread 47664905056096 (LWP 26555)]
Python 2.5.2 (r252:60911, Nov 10 2008, 22:40:35) 
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

sage: s = SFASchur(QQ)
sage: 0 * s([1]) 
/scratch/mabshoff/release-cycle/sage-3.2.rc1/local/bin/python: OWER_symmetrica: Operation not permitted

Program exited with code 0341.
(gdb) bt
No stack.

Cheers,

Michael

Changed 14 years ago by mhansen

comment:3 Changed 14 years ago by mhansen

  • Status changed from new to assigned
  • Summary changed from Can't multiply symmetric functions by 0 to [with patch, needs review] Can't multiply symmetric functions by 0

comment:4 Changed 14 years ago by jbandlow

  • Summary changed from [with patch, needs review] Can't multiply symmetric functions by 0 to [with patch, positive review] Can't multiply symmetric functions by 0

Works for me. Thanks Mike!

comment:5 Changed 14 years ago by mabshoff

  • Resolution set to fixed
  • Status changed from assigned to closed

Merged in Sage 3.2.rc1

comment:6 Changed 14 years ago by mabshoff

  • Milestone changed from sage-3.2.1 to sage-3.2

comment:7 Changed 13 years ago by nthiery

  • Cc sage-combinat added
Note: See TracTickets for help on using tickets.