|
From: | Max G. |
Subject: | [Octave-bug-tracker] [bug #42300] uninitialised variable in princomp |
Date: | Mon, 05 May 2014 13:46:22 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/34.0.1847.116 Chrome/34.0.1847.116 Safari/537.36 |
URL: <http://savannah.gnu.org/bugs/?42300> Summary: uninitialised variable in princomp Project: GNU Octave Submitted by: maxg Submitted on: Mo 05 Mai 2014 13:46:21 GMT Category: Libraries Severity: 3 - Normal Priority: 5 - Normal Item Group: None Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: 3.8.0 Operating System: GNU/Linux _______________________________________________________ Details: I tried do use princomp. M = rand(1000,3); princomp(M) results in error: 'r' undefined near line 103 column 51 error: invalid limit value in colon expression error: evaluating argument list element number 1 error: called from: error: ~/octave/statistics-1.2.3/princomp.m at line 103, column 13 Note that I anonymised the path in the last line of the error message. I looked in the file and found that r is really not initialised for nargout < 2. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?42300> _______________________________________________ Nachricht gesendet von/durch Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |