[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53435] tests: camorbit.m, camroll.m: two fail
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #53435] tests: camorbit.m, camroll.m: two failing tests on i686 |
Date: |
Fri, 23 Mar 2018 02:34:34 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 |
URL:
<http://savannah.gnu.org/bugs/?53435>
Summary: tests: camorbit.m, camroll.m: two failing tests on
i686
Project: GNU Octave
Submitted by: mtmiller
Submitted on: Thu 22 Mar 2018 11:34:33 PM PDT
Category: Test Suite
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Inaccurate Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
In testing Octave built for i686, I am seeing 1 test failure in camorbit.m and
1 test failure in camroll.m.
Both test failures look like candidates for increasing the tolerances, if
someone familiar with these functions can verify that this makes sense.
hf = figure ("visible", "off");
unwind_protect
sphere ();
camorbit(20, 30, "data", [1 2 3]);
p = campos ();
u = camup ();
## Matlab 2014a
pm = [-0.215772672525099 -9.04926615428815 14.7669978066852];
um = [0.413058199972826 0.773801198226611 0.48022351989284];
assert (p, pm, -5e-15);
assert (u, um, -5e-15);
unwind_protect_cleanup
close (hf);
end_unwind_protect
!!!!! test failed
ASSERT errors for: assert (p,pm,-5e-15)
Location | Observed | Expected | Reason
(1) -0.21577 -0.21577 Rel err 1.2477e-14 exceeds tol 5e-15
by 7e-15
hf = figure ("visible", "off");
unwind_protect
peaks ();
p = camup ();
assert (p, [0 0 1], eps);
camroll (30);
p = camup ();
## from Matlab R2014a
q = [0.826398839602911 0.255644120004753 0.50170812412194];
assert (p, q, 10*eps);
camroll (-30);
## note it does not go back to [0 0 1]: instead orthog to camera view:
p = camup ();
assert (dot (p, camtarget () - campos ()), 0, eps);
q = [0.496200420425837 0.646660977913424 0.57932264103285];
assert (p, q, 10*eps);
unwind_protect_cleanup
close (hf);
end_unwind_protect
!!!!! test failed
ASSERT errors for: assert (dot (p, camtarget () - campos ()),0,eps)
Location | Observed | Expected | Reason
() -4.3993e-15 0 Abs err 4.3993e-15 exceeds tol
2.2204e-16 by 4e-15
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53435>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53435] tests: camorbit.m, camroll.m: two failing tests on i686,
Mike Miller <=
- [Octave-bug-tracker] [bug #53435] tests: camorbit.m, camroll.m: two failing tests on i686, Markus Mützel, 2018/03/23
- [Octave-bug-tracker] [bug #53435] tests: camorbit.m, camroll.m: two failing tests on i686, Mike Miller, 2018/03/23
- [Octave-bug-tracker] [bug #53435] tests: camorbit.m, camroll.m: two failing tests on i686, Rik, 2018/03/23
- [Octave-bug-tracker] [bug #53435] tests: camorbit.m, camroll.m: two failing tests on i686, Mike Miller, 2018/03/23
- [Octave-bug-tracker] [bug #53435] tests: camorbit.m, camroll.m: two failing tests on i686, Mike Miller, 2018/03/23
- [Octave-bug-tracker] [bug #53435] tests: camorbit.m, camroll.m: two failing tests on i686, Markus Mützel, 2018/03/24
- [Octave-bug-tracker] [bug #53435] tests: camorbit.m, camroll.m: two failing tests on i686, Mike Miller, 2018/03/26