Skip to content
Snippets Groups Projects
  • Stéphane Adjemian's avatar
    f082a5de
    Fixed round method with octave. · f082a5de
    Stéphane Adjemian authored
    The round function in octave does not admit two arguments (the second
    being the rounding precision) as in recent versions of Matlab. The same
    trick should apply to old Matlab versions, but I do not know when
    Mathworks introduced the second argument… A simple solution could be
    to always use this trick, and never use the second argument.
    Verified
    f082a5de
    History
    Fixed round method with octave.
    Stéphane Adjemian authored
    The round function in octave does not admit two arguments (the second
    being the rounding precision) as in recent versions of Matlab. The same
    trick should apply to old Matlab versions, but I do not know when
    Mathworks introduced the second argument… A simple solution could be
    to always use this trick, and never use the second argument.