Skip to content
Snippets Groups Projects
Commit 1816f5e3 authored by Raphael Grimm's avatar Raphael Grimm
Browse files

Add is_floating_point_eigen_matrix_v

parent fed0256b
No related branches found
No related tags found
No related merge requests found
......@@ -28,4 +28,8 @@ namespace simox::meta
template<class T>
static constexpr bool is_eigen_matrix_v = is_eigen_matrix<T>::value;
template<class T>
static constexpr bool is_floating_point_eigen_matrix_v =
is_eigen_matrix_v<T>&&
std::is_floating_point_v<typename is_eigen_matrix<T>::scalar_t>;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment