Skip to content

Commit

Permalink
Merge pull request #206 from jslee02/patch-1
Browse files Browse the repository at this point in the history
Add inline specifier to a function defined in header
  • Loading branch information
bluescarni authored Aug 7, 2018
2 parents eadec4c + c2f55ab commit 9b13cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pagmo/utils/hypervolume.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ namespace detail
*
* @return expected number of operations
*/
double expected_hv_operations(vector_double::size_type n, vector_double::size_type d)
inline double expected_hv_operations(vector_double::size_type n, vector_double::size_type d)
{
if (d <= 3u) {
return static_cast<double>(d) * static_cast<double>(n) * std::log(n); // hv3d
Expand Down

0 comments on commit 9b13cea

Please sign in to comment.