[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #33523] Matlab compatibility issue with averag
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #33523] Matlab compatibility issue with averaging the 3rd dim of a 2-D array |
Date: |
Sat, 20 Feb 2016 05:28:24 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Update of bug #33523 (project octave):
Status: Ready For Test => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #29:
There isn't a way to do #include. If you put commands in a file with
extension .m, but don't have a function declaration, then the block of
commands can be inserted directly into a file simply by using the name. This
is sort of like a #define.
file1.m:
function y = file1 (x)
...
file2;
...
endfunction
file2.m:
cmd1;
cmd2;
cmd3;
I think perfect is the enemy of good in regards to this bug report. Rather
than craft the perfect solution, I have modified just the statistical
functions which were what prompted this report. I have done the minimum
amount necessary to fix the problem which is simply removing a single input
validation check on the maximum size of the input DIMENSION. See this cset
(http://hg.savannah.gnu.org/hgweb/octave/rev/7fbecef105ca).
I found some other problems along the way but I will report these as new bug
reports.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33523>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/