CMA-ES / c-cmaes

CMA-ES written in ANSI C (yet fairly object-oriented)
Other
56 stars 26 forks source link

abs -> labs #15

Closed chrisdembia closed 7 years ago

chrisdembia commented 9 years ago

Fix clang warning absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]

sherm1 commented 9 years ago

Looks like the right fix to me.

chrisdembia commented 9 years ago

Credit where credit is due...clang suggested it.

chrisdembia commented 7 years ago

Thank you!