From maintainers-request at octave dot org Thu Mar 23 16:22:20 2006 Subject: comparing version numbers From: "John W. Eaton" To: octave maintainers mailing list Date: Thu, 23 Mar 2006 17:22:15 -0500 I changed the version number in CVS earlier today to be 2.9.5+ and the following test from cell2mat.m is now failing: %!test %! if ([1e6,1e4,1] * str2num (split (version, '.')) > 2010064) %! assert (cell2mat (D), F); % crashes octave 2.1.64 %! endif Do we really need the version number test here? If there is a need to compare version numbers, then perhaps we should have a function to do it that can handle things like 2.9.5+ or 2.9.5+SVN-serial-number (or similar). Comments? jwe