isovic / graphmap

GraphMap - A highly sensitive and accurate mapper for long, error-prone reads http://www.nature.com/ncomms/2016/160415/ncomms11307/full/ncomms11307.html Note: This was the original repository which will no longer be officially maintained. Please use the new official repository here:
https://github.com/lbcb-sci/graphmap2
MIT License
178 stars 44 forks source link

Fix building with gcc 5 #59

Closed jpecar closed 7 years ago

jpecar commented 7 years ago

While building racon I noticed this:

src/graphmap/region_selection.cc:177:56: error: ‘floor’ is not a member of ‘std’ float min_allowed_bin_value = std::max(2.0f, (float) std::floor(parameters->min_bin_percent * max_bin_value));

Looks like include is missing somewhere.

isovic commented 7 years ago

Hi,

Thank you for the report! I now added the include for cmath.

Btw. You can build racon without running make tools. That one is useful for validating the tests.

Best regards, Ivan.