[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: max([],1)
From: |
John W. Eaton |
Subject: |
Re: max([],1) |
Date: |
Wed, 13 Jun 2007 02:29:26 -0400 |
On 13-Jun-2007, David Bateman wrote:
| And Octave without this patch does
|
| octave:1> max (1, zeros (0, 10))
| ans = 1
| octave:2> max (1, zeros (10, 0))
| ans = 1
| octave:3> max (zeros (0, 10), 1)
| ans = [](0x10)
| octave:4> max (zeros (10, 0), 1)
| ans = [](10x0)
|
| and with it does
|
| octave:1> max (1, zeros (0, 10))
| ans = [](0x10)
| octave:2> max (1, zeros (10, 0))
| ans = [](10x0)
| octave:3> max (zeros (0, 10), 1)
| ans = [](0x10)
| octave:4> max (zeros (10, 0), 1)
| ans = [](10x0)
|
| I think the patch is compatible,
OK.
| I just am not sure its the best thing to do..
I'm not sure either, but let's go with the patch.
Thanks,
jwe
- max([],1), Gerd Bürger, 2007/06/08
- Re: max([],1), David Bateman, 2007/06/08
- Re: max([],1), John W. Eaton, 2007/06/12
- Re: max([],1), Tom Holroyd (NIH/NIMH) [E], 2007/06/12
- Re: max([],1), David Bateman, 2007/06/13
- Re: max([],1),
John W. Eaton <=
- Re: max([],1), David Bateman, 2007/06/13