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

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

[Octave-bug-tracker] [bug #51333] Reductions on an empty matrix is incon


From: Joel Dahne
Subject: [Octave-bug-tracker] [bug #51333] Reductions on an empty matrix is inconsistent
Date: Tue, 20 Mar 2018 15:43:15 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #6, bug #51333 (project octave):

As mentioned this needs to be implemented in the dot.cc file and cannot be
done as a m-file, mainly due to performance reasons.

Apart from that I can also give you some feedback on your code. From what I
can tell it has the required functionality, but there are things that can be
improved in the code.

- Your error messages give error messages when called. The problem is you
calling function message(), which does not exist. One example on how to do it
can be found in this file [1]

- Take a look at the Octave style guide [2]. For example it is recommended to
use double quoted strings and end blocks with a specific ending, for example
endif for if-blocks.

If you want to try and modify the dot.cc file you have to be able to build
Octave yourself. I don't know which operating system you are using, but some
general info can be found here [3]. It can however be a bit complicated,
especially if something goes wrong.

[1]:
https://sourceforge.net/p/octave/interval/ci/default/tree/inst/@infsup/private/str2decimal.m
[2]: https://wiki.octave.org/Octave_style_guide
[3]: https://wiki.octave.org/Build_from_source

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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