{"id":895,"date":"2014-07-05T13:11:32","date_gmt":"2014-07-05T18:11:32","guid":{"rendered":"http:\/\/blog.richmond.edu\/physicsbunn\/?p=895"},"modified":"2016-08-04T15:02:04","modified_gmt":"2016-08-04T20:02:04","slug":"another-mathematica-bug","status":"publish","type":"post","link":"https:\/\/blog.richmond.edu\/physicsbunn\/2014\/07\/05\/another-mathematica-bug\/","title":{"rendered":"Another Mathematica bug"},"content":{"rendered":"<p>I got a reply to my <a href=\"http:\/\/blog.richmond.edu\/physicsbunn\/2014\/06\/19\/strange-mathematica-behavior\/\">last bug report<\/a>, acknowledging that it&#8217;s a bug and saying they&#8217;d send it on to their engineers.<\/p>\n<p>Here&#8217;s another:<\/p>\n<p><a href=\"http:\/\/blog.richmond.edu\/physicsbunn\/files\/2014\/07\/Screen-Shot-2014-07-05-at-2.08.50-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-896\" src=\"http:\/\/blog.richmond.edu\/physicsbunn\/files\/2014\/07\/Screen-Shot-2014-07-05-at-2.08.50-PM.png\" alt=\"\" width=\"376\" height=\"131\" srcset=\"https:\/\/blog.richmond.edu\/physicsbunn\/files\/2014\/07\/Screen-Shot-2014-07-05-at-2.08.50-PM.png 376w, https:\/\/blog.richmond.edu\/physicsbunn\/files\/2014\/07\/Screen-Shot-2014-07-05-at-2.08.50-PM-300x104.png 300w\" sizes=\"auto, (max-width: 376px) 100vw, 376px\" \/><\/a><\/p>\n<p>The first one should only evaluate to zero if it&#8217;s zero for all a,b. The second indicates that that&#8217;s not the case. This one cost me several hours, as I searched elsewhere for why my results didn&#8217;t make sense. (The offending bit was originally in the middle of a larger expression; otherwise, I would have figured it out more quickly.)<\/p>\n<p><strong>Update<\/strong>: The Mathematica people have acknowledged this bug and passed the word on to their developers, presumably to be fixed in the next version.<\/p>\n<p><strong>Update 2<\/strong>: Two years later, I got an email saying that the bug had been fixed. I can confirm that, as of Mathematica version 10.4, the problem is gone. It was still there in 10.0. I didn&#8217;t check the versions in between. The previous bug involving the spherical Bessel function is still there.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I got a reply to my last bug report, acknowledging that it&#8217;s a bug and saying they&#8217;d send it on to their engineers. Here&#8217;s another: The first one should only evaluate to zero if it&#8217;s zero for all a,b. The second indicates that that&#8217;s not the case. This one cost me several hours, as I &hellip; <a href=\"https:\/\/blog.richmond.edu\/physicsbunn\/2014\/07\/05\/another-mathematica-bug\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Another Mathematica bug<\/span><\/a><\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-895","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blog.richmond.edu\/physicsbunn\/wp-json\/wp\/v2\/posts\/895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.richmond.edu\/physicsbunn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.richmond.edu\/physicsbunn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.richmond.edu\/physicsbunn\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.richmond.edu\/physicsbunn\/wp-json\/wp\/v2\/comments?post=895"}],"version-history":[{"count":0,"href":"https:\/\/blog.richmond.edu\/physicsbunn\/wp-json\/wp\/v2\/posts\/895\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.richmond.edu\/physicsbunn\/wp-json\/wp\/v2\/media?parent=895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.richmond.edu\/physicsbunn\/wp-json\/wp\/v2\/categories?post=895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.richmond.edu\/physicsbunn\/wp-json\/wp\/v2\/tags?post=895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}