|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #34136] Function sqp.m (version 14/05/2009) : error in line 304, variable __sqp_ub |
Date: | Fri, 26 Aug 2011 00:28:10 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 5.1; rv:6.0) Gecko/20100101 Firefox/6.0 |
URL: <http://savannah.gnu.org/bugs/?34136> Summary: Function sqp.m (version 14/05/2009) : error in line 304, variable __sqp_ub Project: GNU Octave Submitted by: None Submitted on: ven. 26 août 2011 00:28:09 UTC Category: None Severity: 3 - Normal Priority: 5 - Normal Item Group: Build Failure Status: None Assigned to: None Originator Name: Fred Originator Email: address@hidden Open/Closed: Open Discussion Lock: Any Release: 3.2.0 Operating System: Microsoft Windows _______________________________________________________ Details: instead of : global __sqp_ub__; if (isvector (ub)) __sqp_ub__ = ub; elseif (isempty (lb)) __sqp_ub__ = realmax; else error ("sqp: invalid upper bound"); endif I think that : global __sqp_ub__; if (isvector (ub)) __sqp_ub__ = ub; elseif (isempty (ub)) __sqp_ub__ = realmax; else error ("sqp: invalid upper bound"); endif is better ! confusion between "lg" and "ub" in the line of the "elseif" @+ _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?34136> _______________________________________________ Message posté via/par Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |