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

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

[Octave-bug-tracker] [bug #52131] lscov fails to run unless all returned


From: Cody Rude
Subject: [Octave-bug-tracker] [bug #52131] lscov fails to run unless all returned variables are used
Date: Wed, 27 Sep 2017 21:36:03 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

URL:
  <http://savannah.gnu.org/bugs/?52131>

                 Summary: lscov fails to run unless all returned variables are
used
                 Project: GNU Octave
            Submitted by: extremeadin
            Submitted on: Thu 28 Sep 2017 01:36:01 AM UTC
                Category: Octave Function
                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: 4.2.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The function lscov can return 4 results. If all four aren't assigned to a
variable, the function will fail to run.

For example,


A = [1.15, 0; 0.0, -0.95];
B = [5.1,0; 0,4.9];
lscov(A,B)



will fail to run, while the following works


A = [1.15, 0; 0.0, -0.95];
B = [5.1,0; 0,4.9];
[q,w,e,r] = lscov(A,B)



It looks like function only computes some statistics if they will be returned,
but one of those statistics is required further down in the function.

I ran this on Ubuntu 16.04, Octave 4.2.1




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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