{"action":"created","issue":{"url":"https://api.github.com/repos/scipy/scipy/issues/5363","labels_url":"https://api.github.com/repos/scipy/scipy/issues/5363/labels{/name}","comments_url":"https://api.github.com/repos/scipy/scipy/issues/5363/comments","events_url":"https://api.github.com/repos/scipy/scipy/issues/5363/events","html_url":"https://github.com/scipy/scipy/issues/5363","id":111500071,"number":5363,"title":"FAIL: test_orthogonal.test_j_roots, test_orthogonal.test_js_roots","user":{"login":"rohitjamuar","id":15131866,"avatar_url":"https://avatars.githubusercontent.com/u/15131866?v=3","gravatar_id":"","url":"https://api.github.com/users/rohitjamuar","html_url":"https://github.com/rohitjamuar","followers_url":"https://api.github.com/users/rohitjamuar/followers","following_url":"https://api.github.com/users/rohitjamuar/following{/other_user}","gists_url":"https://api.github.com/users/rohitjamuar/gists{/gist_id}","starred_url":"https://api.github.com/users/rohitjamuar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohitjamuar/subscriptions","organizations_url":"https://api.github.com/users/rohitjamuar/orgs","repos_url":"https://api.github.com/users/rohitjamuar/repos","events_url":"https://api.github.com/users/rohitjamuar/events{/privacy}","received_events_url":"https://api.github.com/users/rohitjamuar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scipy/scipy/labels/defect","name":"defect","color":"e11d21"},{"url":"https://api.github.com/repos/scipy/scipy/labels/scipy.special","name":"scipy.special","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/scipy/scipy/milestones/27","html_url":"https://github.com/scipy/scipy/milestones/0.16.1","labels_url":"https://api.github.com/repos/scipy/scipy/milestones/27/labels","id":1226050,"number":27,"title":"0.16.1","description":"","creator":{"login":"rgommers","id":98330,"avatar_url":"https://avatars.githubusercontent.com/u/98330?v=3","gravatar_id":"","url":"https://api.github.com/users/rgommers","html_url":"https://github.com/rgommers","followers_url":"https://api.github.com/users/rgommers/followers","following_url":"https://api.github.com/users/rgommers/following{/other_user}","gists_url":"https://api.github.com/users/rgommers/gists{/gist_id}","starred_url":"https://api.github.com/users/rgommers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgommers/subscriptions","organizations_url":"https://api.github.com/users/rgommers/orgs","repos_url":"https://api.github.com/users/rgommers/repos","events_url":"https://api.github.com/users/rgommers/events{/privacy}","received_events_url":"https://api.github.com/users/rgommers/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":20,"state":"open","created_at":"2015-07-26T08:13:49Z","updated_at":"2015-10-21T20:52:08Z","due_on":"2015-10-24T22:00:00Z","closed_at":null},"comments":6,"created_at":"2015-10-14T21:45:56Z","updated_at":"2015-10-21T20:52:08Z","closed_at":"2015-10-21T20:52:08Z","body":"I see these failures on Ubuntu 14.04.2 LTS (x86_64) with Numpy-1.9.2 and Scipy-0.16.0, compiled with icc-15.0.3:\r\n```\r\n======================================================================\r\nFAIL: test_orthogonal.test_j_roots \r\nvgq(rf(0.5, -0.5), ef(0.5, -0.5), wf(0.5, -0.5), -1., 1., 25, atol=1e-13)\r\n----------------------------------------------------------------------\r\nAssertionError:\r\nNot equal to tolerance rtol=1e-15, atol=1e-13\r\n\r\n(mismatch 100.0%)\r\n x: array([[  1.000000e+00,   1.071811e-13,  -1.051287e-13,   1.027752e-13,\r\n         -9.987623e-14,   9.682406e-14,  -9.338675e-14,   9.002237e-14,\r\n         -8.710329e-14,   8.338669e-14,  -7.911253e-14,   7.485234e-14,...\r\n y: array([[ 1.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,\r\n         0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],\r\n       [ 0.,  1.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,...\r\n\r\n======================================================================\r\nFAIL: test_orthogonal.test_js_roots \r\nvgq(rf(1, 0.5), ef(1, 0.5), wf(1, 0.5), 0., 1., 25, atol=1e-13)\r\n----------------------------------------------------------------------\r\n\r\nAssertionError:\r\nNot equal to tolerance rtol=1e-15, atol=1e-13\r\n\r\n(mismatch 100.0%)\r\n x: array([[  1.000000e+00,   1.071811e-13,  -1.050949e-13,   1.027831e-13,\r\n         -9.989439e-14,   9.682856e-14,  -9.331403e-14,   9.018995e-14,\r\n         -8.707046e-14,   8.322614e-14,  -7.916400e-14,   7.499160e-14,...\r\n y: array([[ 1.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,\r\n         0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],\r\n       [ 0.,  1.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,...\r\n\r\n======================================================================\r\nFAIL: test_orthogonal.test_js_roots \r\nvgq(rf(68.9, 2.25), ef(68.9, 2.25), wf(68.9, 2.25), 0., 1., 5, atol=2e-14)\r\n----------------------------------------------------------------------\r\nAssertionError:\r\nNot equal to tolerance rtol=1e-15, atol=2e-14\r\n\r\n(mismatch 100.0%)\r\n x: array([[  1.000000e+00,  -3.070229e-14,   1.971582e-14,  -8.322740e-15,\r\n         -1.146759e-15],\r\n       [ -3.070229e-14,   1.000000e+00,  -2.023995e-14,   1.201997e-14,...\r\n y: array([[ 1.,  0.,  0.,  0.,  0.],\r\n       [ 0.,  1.,  0.,  0.,  0.],\r\n       [ 0.,  0.,  1.,  0.,  0.],...\r\n```\r\n\r\nWhen the compilation is done by icc with `-O3` and `-fp-model strict` compiler flags, the tests pass.\r\nBut when the compilation is done without `-fp-model strict` flag - which means fast math optimizations, tests fail.  For tests with `atol=1e-13`, increasing it to `1.5e-13` makes the tests pass. For the test with `atol=2e-14`, increasing it to `3.5e-14`, fixes the test. Should the tolerance-level be reconsidered for these cases?"},"comment":{"url":"https://api.github.com/repos/scipy/scipy/issues/comments/150020825","html_url":"https://github.com/scipy/scipy/issues/5363#issuecomment-150020825","issue_url":"https://api.github.com/repos/scipy/scipy/issues/5363","id":150020825,"user":{"login":"rgommers","id":98330,"avatar_url":"https://avatars.githubusercontent.com/u/98330?v=3","gravatar_id":"","url":"https://api.github.com/users/rgommers","html_url":"https://github.com/rgommers","followers_url":"https://api.github.com/users/rgommers/followers","following_url":"https://api.github.com/users/rgommers/following{/other_user}","gists_url":"https://api.github.com/users/rgommers/gists{/gist_id}","starred_url":"https://api.github.com/users/rgommers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgommers/subscriptions","organizations_url":"https://api.github.com/users/rgommers/orgs","repos_url":"https://api.github.com/users/rgommers/repos","events_url":"https://api.github.com/users/rgommers/events{/privacy}","received_events_url":"https://api.github.com/users/rgommers/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T20:52:08Z","updated_at":"2015-10-21T20:52:08Z","body":"backported in 9605c94"}}