{"action":"created","issue":{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/695","labels_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/695/labels{/name}","comments_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/695/comments","events_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/695/events","html_url":"https://github.com/matlab2tikz/matlab2tikz/pull/695","id":94708001,"number":695,"title":"Fix octave 4","user":{"login":"PeterPablo","id":4340267,"avatar_url":"https://avatars.githubusercontent.com/u/4340267?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterPablo","html_url":"https://github.com/PeterPablo","followers_url":"https://api.github.com/users/PeterPablo/followers","following_url":"https://api.github.com/users/PeterPablo/following{/other_user}","gists_url":"https://api.github.com/users/PeterPablo/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterPablo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterPablo/subscriptions","organizations_url":"https://api.github.com/users/PeterPablo/orgs","repos_url":"https://api.github.com/users/PeterPablo/repos","events_url":"https://api.github.com/users/PeterPablo/events{/privacy}","received_events_url":"https://api.github.com/users/PeterPablo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/labels/development","name":"development","color":"0052cc"},{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/labels/do-not-merge","name":"do-not-merge","color":"f7c6c7"},{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/labels/octave","name":"octave","color":"c9a423"},{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/labels/work-in-progress","name":"work-in-progress","color":"c7def8"}],"state":"open","locked":false,"assignee":{"login":"PeterPablo","id":4340267,"avatar_url":"https://avatars.githubusercontent.com/u/4340267?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterPablo","html_url":"https://github.com/PeterPablo","followers_url":"https://api.github.com/users/PeterPablo/followers","following_url":"https://api.github.com/users/PeterPablo/following{/other_user}","gists_url":"https://api.github.com/users/PeterPablo/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterPablo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterPablo/subscriptions","organizations_url":"https://api.github.com/users/PeterPablo/orgs","repos_url":"https://api.github.com/users/PeterPablo/repos","events_url":"https://api.github.com/users/PeterPablo/events{/privacy}","received_events_url":"https://api.github.com/users/PeterPablo/received_events","type":"User","site_admin":false},"milestone":null,"comments":16,"created_at":"2015-07-13T12:21:54Z","updated_at":"2015-08-17T05:35:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/695","html_url":"https://github.com/matlab2tikz/matlab2tikz/pull/695","diff_url":"https://github.com/matlab2tikz/matlab2tikz/pull/695.diff","patch_url":"https://github.com/matlab2tikz/matlab2tikz/pull/695.patch"},"body":"### Warning: might be rebased without prior notice\r\n\r\n**Do not merge!**\r\n\r\nOctave is not able to run the testsuite without changes. This PR is trying to get things into shape.\r\n\r\n* [x] `getEnvironment()` would not properly detect Octave 4\r\n* [x] `fileOpenForWrite()` is now deferring from passing the third argument as empty\r\n* [x] `generateColorDefinitions()` doesn't choke on names anymore\r\n* [x] add comments to touched functions\r\n* [x] get rid of `warning: implicit conversion from numeric to char` (near line `newstr(2,1:nElem-1) = {delimiter};`)\r\n* [x] fix check for installed toolboxes in `ACID.m`\r\n* [ ] get rid of `warning: implicit conversion from numeric to char` for `ACID(74)`\r\n* [ ] `ACID(87)`: plot fails -- should be fixed by #669\r\n* [ ] `testGraphical` results in `Segmentation fault` :see_no_evil: \r\n\r\n### New octave\r\n* supports some annotations --> ACID(88), ACID(89), ACID(90)\r\n* contains penny dataset --> ACID(9)\r\n* ..."},"comment":{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/comments/131684419","html_url":"https://github.com/matlab2tikz/matlab2tikz/pull/695#issuecomment-131684419","issue_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/695","id":131684419,"user":{"login":"PeterPablo","id":4340267,"avatar_url":"https://avatars.githubusercontent.com/u/4340267?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterPablo","html_url":"https://github.com/PeterPablo","followers_url":"https://api.github.com/users/PeterPablo/followers","following_url":"https://api.github.com/users/PeterPablo/following{/other_user}","gists_url":"https://api.github.com/users/PeterPablo/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterPablo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterPablo/subscriptions","organizations_url":"https://api.github.com/users/PeterPablo/orgs","repos_url":"https://api.github.com/users/PeterPablo/repos","events_url":"https://api.github.com/users/PeterPablo/events{/privacy}","received_events_url":"https://api.github.com/users/PeterPablo/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T05:35:32Z","updated_at":"2015-08-17T05:35:32Z","body":"In the first case, the numbers are smaller then `eps`:\r\n```\r\noctave:3> eps > abs( -1.22465e-16 )\r\nans =  1\r\n```\r\n\r\nI think we should explicitly set a number to zero, if this is the case."}}