jhkorhonen / MOODS

MOODS: Motif Occurrence Detection Suite
Other
95 stars 12 forks source link

Fix a bunch of compilation warnings from clang++. #43

Open adam-azarchs opened 1 year ago

adam-azarchs commented 1 year ago

Mostly these are inconsistent usage of int vs. unsigned int vs. long vs. size_t, plus one abstract base class that needed a virtual destructor and a few logical expressions for which clang considers parentheses to be necessary for clarity.

Also fix a couple of issues found by clang-tidy, mostly related to narrowing integer conversions. Avoided touching things that might affect the API or floating point results.