Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
Date: 2009-12-20 21:43:29 +0000 (Sun, 20 Dec 2009)
control-oo: another style fix for a test
--- trunk/octave-forge/extra/control-oo/inst/initial.m 2009-12-20 21:00:03 UTC (rev 6660)
+++ trunk/octave-forge/extra/control-oo/inst/initial.m 2009-12-20 21:43:29 UTC (rev 6661)
@@ -104,12 +104,12 @@
%! sysc = ss (A, B, C, D);
%! [yc, tc, xc] = initial (sysc, x_0, 0.2, 0.1);
-%! initial_c = round (1e4 * [yc, tc, xc]) / 1e4;
+%! initial_c = [yc, tc, xc];
%! sysd = c2d (sysc, 2);
%! [yd, td, xd] = initial (sysd, x_0, 4);
-%! initial_d = round (1e4 * [yd, td, xd]) / 1e4;
+%! initial_d = [yd, td, xd];
%! ## expected values computed by the "dark side"
@@ -141,5 +141,5 @@
%! initial_d_exp = [yd_exp, td_exp, xd_exp];
-%!assert (initial_c, initial_c_exp)
-%!assert (initial_d, initial_d_exp)
+%!assert (initial_c, initial_c_exp, 1e-4)
+%!assert (initial_d, initial_d_exp, 1e-4)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Sign up for the SourceForge newsletter: