fixed marnav github link to include line numbers

This commit is contained in:
Justin Dhillon 2023-11-11 12:43:28 -08:00
parent 212577b43a
commit 11de28f0f8

View file

@ -20186,7 +20186,7 @@ class basic_json
@note Floating-point inside JSON values numbers are compared with
`json::number_float_t::operator==` which is `double::operator==` by
default. To compare floating-point while respecting an epsilon, an alternative
[comparison function](https://github.com/mariokonrad/marnav/blob/01c55205736fcc8157891b84e3efe387a221ff3a/include/marnav/math/floatingpoint.hpp#L4)
[comparison function](https://github.com/mariokonrad/marnav/blob/01c55205736fcc8157891b84e3efe387a221ff3a/include/marnav/math/floatingpoint.hpp#L33-#L38)
could be used, for instance
@code {.cpp}
template<typename T, typename = typename std::enable_if<std::is_floating_point<T>::value, T>::type>