[Top][All Lists]

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

Re: error using etree function

From: Marco Atzeri
Subject: Re: error using etree function
Date: Thu, 22 Nov 2018 18:50:19 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1

Am 22.11.2018 um 18:19 schrieb Dmitri A. Sergatskov:

On Thu, Nov 22, 2018 at 10:24 AM rpsouto  wrote:

    Hello all.

    The function etree is not working.

     >> A=gallery('poisson',16);
     >> issparse(A)
    ans = 1
     >> etree(A)
    error: etree: S must be a sparse matrix

    This test was performed at versions 4.4.1 and 4.2.2 of GNU Octave
    (Ubuntu 18.04).

On Fedora (octave 4.4.1) I see:

octave -f -q
octave:1> A=gallery('poisson',16);
octave:2> issparse A
ans = 0

you are missing the parenthesis

octave:8> issparse A
ans = 0
octave:9> issparse(A)
ans = 1

Diese E-Mail wurde von Avast Antivirus-Software auf Viren gepr├╝ft.

reply via email to

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