søn, 19 07 2009 kl. 22:32 +0200, skrev Thomas Weber:
> ===================================================================
> octave:1> test map
>   ***** assert(map(@min,[1 2 3 4 5],[5 4 3 2 1]), [1 2 3 2 1])
> !!!!! test failed
> invalid assignment to cs-list outside multiple assignment.octave:2>
> ===================================================================

I've applied the following patch:

        Index: map.m
        ===================================================================
        --- map.m       (revision 6022)
        +++ map.m       (working copy)
        @@ -105,7 +105,8 @@
           endif
           
           otherdata = length(varargin);
        -  val{1:otherdata+1}=0;
        +  val = cell (1, otherdata+1);
        +  val (:) = 0;
         
           if(typecell)

I still see errors when running 'test map', but these seem to be errors
in Octave and not 'map'. I've sent a bug report to the Octave list.

Søren


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to