{"action":"closed","issue":{"url":"https://api.github.com/repos/isovic/racon/issues/27","repository_url":"https://api.github.com/repos/isovic/racon","labels_url":"https://api.github.com/repos/isovic/racon/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/isovic/racon/issues/27/comments","events_url":"https://api.github.com/repos/isovic/racon/issues/27/events","html_url":"https://github.com/isovic/racon/issues/27","id":228662252,"number":27,"title":"'floor' is not a member of 'std' error when executing \"make tools\"","user":{"login":"NicolaDM","id":6035566,"avatar_url":"https://avatars3.githubusercontent.com/u/6035566?v=4","gravatar_id":"","url":"https://api.github.com/users/NicolaDM","html_url":"https://github.com/NicolaDM","followers_url":"https://api.github.com/users/NicolaDM/followers","following_url":"https://api.github.com/users/NicolaDM/following{/other_user}","gists_url":"https://api.github.com/users/NicolaDM/gists{/gist_id}","starred_url":"https://api.github.com/users/NicolaDM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicolaDM/subscriptions","organizations_url":"https://api.github.com/users/NicolaDM/orgs","repos_url":"https://api.github.com/users/NicolaDM/repos","events_url":"https://api.github.com/users/NicolaDM/events{/privacy}","received_events_url":"https://api.github.com/users/NicolaDM/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-05-15T09:51:36Z","updated_at":"2018-02-23T06:48:24Z","closed_at":"2018-02-23T06:48:24Z","author_association":"NONE","body":"Hi,\r\nI have installed Racon, but during the installation, in the make tools step, I get the following error:\r\n\r\n```\r\nsrc/graphmap/region_selection.cc: In member function 'int GraphMap::RegionSelectionNoCopy_(int64_t, MappingData*, std::vector<std::shared_ptr<is::MinimizerIndex> >&, const SingleSequence*, const ProgramParameters*)':\r\nsrc/graphmap/region_selection.cc:177:56: error: 'floor' is not a member of 'std'\r\n   float min_allowed_bin_value = std::max(2.0f, (float) std::floor(parameters->min_bin_percent * max_bin_value));\r\n                                                        ^\r\nsrc/graphmap/region_selection.cc:177:56: note: suggested alternative:\r\nIn file included from /usr/include/features.h:361:0,\r\n                 from /usr/include/string.h:27,\r\n                 from src/graphmap/region_selection.cc:8:\r\n/usr/include/bits/mathcalls.h:185:1: note:   'floor'\r\n __MATHCALLX (floor,, (_Mdouble_ __x), (__const__));\r\n ^\r\n```\r\n\r\nApparently Racon seems to run anyway.\r\n\r\n"}}
{"actor":{"display_login":"rvaser"}}