Re: [Numpy-discussion] Second try: possible bug in assignment to complex array

2012-08-11 Thread Mark Bakker
Shall I file a bug report? Or is this fairly easy to fix? Mark > > On Fri, Aug 10, 2012 at 11:41 AM, wrote: > > > > > > > On Fri, Aug 10, 2012 at 10:00 AM, Travis Oliphant >wrote: > > > >> > >> On Aug 10, 2012, at 5:37 AM, Paul Anton Letnes wrote: > >> > >> > > >> > > >> > On 10. aug. 2012, at

Re: [Numpy-discussion] Second try: possible bug in assignment to complex array

2012-08-10 Thread josef . pktd
On Fri, Aug 10, 2012 at 11:41 AM, wrote: > > > On Fri, Aug 10, 2012 at 10:00 AM, Travis Oliphant wrote: > >> >> On Aug 10, 2012, at 5:37 AM, Paul Anton Letnes wrote: >> >> > >> > >> > On 10. aug. 2012, at 09:54, Mark Bakker wrote: >> > >> >> I am giving this a second try. Can anybody help me out?

Re: [Numpy-discussion] Second try: possible bug in assignment to complex array

2012-08-10 Thread josef . pktd
On Fri, Aug 10, 2012 at 10:00 AM, Travis Oliphant wrote: > > On Aug 10, 2012, at 5:37 AM, Paul Anton Letnes wrote: > > > > > > > On 10. aug. 2012, at 09:54, Mark Bakker wrote: > > > >> I am giving this a second try. Can anybody help me out? > >> > >> I think there is a problem with assigning a 1D

Re: [Numpy-discussion] Second try: possible bug in assignment to complex array

2012-08-10 Thread Travis Oliphant
On Aug 10, 2012, at 5:37 AM, Paul Anton Letnes wrote: > > > On 10. aug. 2012, at 09:54, Mark Bakker wrote: > >> I am giving this a second try. Can anybody help me out? >> >> I think there is a problem with assigning a 1D complex array of length one >> to a position in another complex array.

Re: [Numpy-discussion] Second try: possible bug in assignment to complex array

2012-08-10 Thread Paul Anton Letnes
On 10. aug. 2012, at 09:54, Mark Bakker wrote: > I am giving this a second try. Can anybody help me out? > > I think there is a problem with assigning a 1D complex array of length one > to a position in another complex array. > > Example: > > a = ones(1,'D') > b = ones(1,'D') > a[0] = b > --

Re: [Numpy-discussion] Second try: possible bug in assignment to complex array

2012-08-10 Thread Fabrice Silva
Le vendredi 10 août 2012, Dave Hirschfeld a écrit : > Mark Bakker gmail.com> writes: > > I think there is a problem with assigning a 1D complex array of length one > > to a position in another complex array. > > Example: > > a = ones(1,'D') > > b = ones(1,'D') > > a[0] = b > >

Re: [Numpy-discussion] Second try: possible bug in assignment to complex array

2012-08-10 Thread Dave Hirschfeld
Mark Bakker gmail.com> writes: > > I think there is a problem with assigning a 1D complex array of length one > to a position in another complex array. > Example: > a = ones(1,'D') > b = ones(1,'D') > a[0] = b > --- > TypeEr

[Numpy-discussion] Second try: possible bug in assignment to complex array

2012-08-10 Thread Mark Bakker
I am giving this a second try. Can anybody help me out? > > I think there is a problem with assigning a 1D complex array of length one > to a position in another complex array. > > Example: > > a = ones(1,'D') > b = ones(1,'D') > a[0] = b > -