octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #46530] String input returns on any kind of fu


From: andrefou
Subject: [Octave-bug-tracker] [bug #46530] String input returns on any kind of function A(I): index out of bounds triggered.
Date: Tue, 01 Dec 2015 14:18:42 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0

Follow-up Comment #10, bug #46530 (project octave):

here is the result and the whos command

>
result1=function1('/home/andrefougeront/clone/search-workers/image-processing/algo/set_of_images/compression_niv10-100/compresse10/01a10.jpg')
res =  1
result1 =  1
>>
result1=function1('/home/andrefougeront/clone/search-workers/image-processing/algo/set_of_images/compression_niv10-100/compresse10/01a10.jpg')
error: A(I): index out of bounds; value 119 out of bound 1
>> whos
Variables in the current scope:

   Attr Name        Size                     Bytes  Class
   ==== ====        ====                     =====  =====
        ans         1x1                          8  double
        babu        1x1                          8  double

Total is 2 elements using 16 bytes

And here is the function script 

function res=function1(img)

res=1
endfunction

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46530>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]