[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tue, 13 Oct 2015 12:06:17 -0400
On Tue, Oct 13, 2015 at 11:55:57 -0400, James Sherman Jr. wrote:
> On Tue, Oct 13, 2015 at 9:17 AM, Robert Setif <address@hidden> wrote:
>> Hello !
>> I have a problem with linsolve.
>> I work with Octave 4.0.0 and Windows 7 64 bits
>> M=[4,1;2,3] m=[9,7]
>> mldivide(M,m') ok [2;1]
>> id with M\m'
>> But all commands with linsolve M and m ou m' product an error->
>> error: 'trans_A' undefined near line 103 column 7
>> error: called from
>> linsolve at line 103 column 3
>> Thank you very much.
>> Best regards.
>> Help-octave mailing list
> It seems that there is a bug with processing the options inside the
> function. Inside the if nargin statement on line 83 is where
> "trans_A" is defined, but if there are no options, it is never defined
> before the line 103 where it is causing an error. I think just moving
> the line "trans_A = false" before the if statement is (one way) to
> resolve this problem. I've attached the modified code.
Quite right. Fortunately, this has already been reported and fixed,
the 4.0.1 release will include the fixed version of linsolve. It can
also be downloaded from:
- linsolve, Robert Setif, 2015/10/13
- Re: linsolve, James Sherman Jr., 2015/10/15
- Re: linsolve,
Mike Miller <=