octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

octave 5.1.90 make test "fail"


From: Christian Himpe
Subject: octave 5.1.90 make test "fail"
Date: Sat, 18 Jan 2020 01:40:35 +0100

Dear Developers,

Testing Octave 5.1.90 via make test, I got a FAIL for
"camlookat.m"; from the "fntest.log":

>>>>> processing 
>>>>> /home/ch/BUILA/octave-5.1.90/scripts/plot/appearance/camlookat.m
***** test
 hf = figure ("visible", "off");
 unwind_protect
   [x y z] = sphere ();
   h1 = surf (x + 1, y, z);
   hold on
   h2 = surf (x - 1, y + 2, z + 1);
   dir = camtarget () - campos ();
   dir /= norm (dir);
   camlookat (h1);
   dir2 = camtarget () - campos ();
   dir2 /= norm (dir2);
   assert (dir, dir2, -2*eps);
   camlookat (h2);
   dir2 = camtarget () - campos ();
   dir2 /= norm (dir2);
   assert (dir, dir2, -2*eps)
   camlookat ([h1 h2]);
   dir2 = camtarget () - campos ();
   dir2 /= norm (dir2);
   assert (dir, dir2, -2*eps);
 unwind_protect_cleanup
   close (hf);
 end_unwind_protect
!!!!! test failed
ASSERT errors for:  assert (dir,dir2,-2 * eps)

  Location  |  Observed  |  Expected  |  Reason
    (2)        0.72803      0.72803      Rel err 4.5749e-16 exceeds tol
  4.4409e-16 by 1e-17


Maybe the relative error needs to be raised by a small bit here?

Best

Christian

-- 
Dr. rer. nat. Christian Himpe
Computational Methods in Systems and Control Theory
Max Planck Institute for Dynamics of Complex Technical Systems
Sandtorstr. 1
39106 Magdeburg
Germany
https://himpe.science



reply via email to

[Prev in Thread] Current Thread [Next in Thread]