Mercurial > forge
changeset 12374:b289ef6d1d7e octave-forge
Avoid obsolete isequalwithequalnans functions
author | abarth93 |
---|---|
date | Mon, 17 Feb 2014 09:57:16 +0000 |
parents | 032a8906a7b6 |
children | 03367292daf4 |
files | extra/ncArray/NEWS extra/ncArray/inst/test_ncarray.m |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/extra/ncArray/NEWS Mon Feb 17 09:49:26 2014 +0000 +++ b/extra/ncArray/NEWS Mon Feb 17 09:57:16 2014 +0000 @@ -5,6 +5,7 @@ ignoring NaNs ** ncarray nows depends on package netcdf (instead of octcdf) ** Add missing dependency to statistics + ** Avoid obsolete isequalwithequalnans functions Summary of important user-visible changes for ncArray 1.0.1: ------------------------------------------------------------
--- a/extra/ncArray/inst/test_ncarray.m Mon Feb 17 09:49:26 2014 +0000 +++ b/extra/ncArray/inst/test_ncarray.m Mon Feb 17 09:57:16 2014 +0000 @@ -1,6 +1,11 @@ % Test ncBaseArray, ncCatArray and ncArray. function test_ncarray() +% for octave prior to 3.8.0 +if isempty(which('isequaln')) + isequaln = @(x,y) isequalwithequalnans(x,y); +end + varname = 'SST'; tmpdir = tempname;