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

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

[Octave-bug-tracker] [bug #59641] prctile function errors when specifyin


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #59641] prctile function errors when specifying higher order singleton dimensions
Date: Tue, 8 Dec 2020 23:29:36 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36

Follow-up Comment #4, bug #59641 (project octave):

patch attached. was just a matter of removing the error check in both
functions, and adjusting the quantile permutation to include all dims up to
max(dim, ndims(x)) so it didn't break if dim > ndims(x) as it had been. move
the expected error BISTs to expected output tests, and  both functions still
pass all existing tests.  patch makes matlab compatibility note in news as
well. 

(file #50425, file #50426, file #50427)
    _______________________________________________________

Additional Item Attachment:

File name: prctile-quantile-ndimsfix.diff Size:3 KB
   
<https://file.savannah.gnu.org/file/prctile-quantile-ndimsfix.diff?file_id=50425>

File name: prctile.m                      Size:5 KB
    <https://file.savannah.gnu.org/file/prctile.m?file_id=50426>

File name: quantile.m                     Size:14 KB
    <https://file.savannah.gnu.org/file/quantile.m?file_id=50427>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59641>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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