From: SourceForge.net <no...@so...> - 2005-08-10 22:45:41
|
Bugs item #1256238, was opened at 2005-08-10 22:45 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102915&aid=1256238&group_id=2915 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Orion Poplawski (opoplawski) Assigned to: Nobody/Anonymous (nobody) Summary: octave version check incorrect Initial Comment: The version check in plplot-5.5.3/bindings/octave/PLplot/figure.m is incorrect (fails on octave 2.9.3). Here is a patch which should be correct: --- plplot-5.5.3/bindings/octave/PLplot/figure.m.orig 2005-08-10 11:56:53.000000000 -0600 +++ plplot-5.5.3/bindings/octave/PLplot/figure.m 2005-08-10 12:00:39.000000000 -0600 @@ -49,9 +49,10 @@ if (!exist("__pl") || !struct_contains (__pl,"inited")) v = split(version ,'.'); - if (! (str2num(v(1,:)) >= 2 && - str2num(v(2,:)) >= 1 && - str2num(v(3,:)) >= 57)) + if (! ((str2num(v(1,:)) > 2) || + (str2num(v(1,:)) == 2 && str2num(v(2,:)) > 1) || + (str2num(v(1,:)) == 2 && str2num(v(2,:)) == 1 && + str2num(v(3,:)) >= 57))) error("The PLplot-Octave scripts need an Octave version \n greater then or equal to 2.1.57.\n"); endif ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102915&aid=1256238&group_id=2915 |