mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 20:34:26 +02:00
chore: merge issues fixed
This commit is contained in:
@@ -28,9 +28,6 @@ set(projectPrefix UNITS_)
|
|||||||
option(${projectPrefix}AS_SYSTEM_HEADERS "Exports library as system headers" OFF)
|
option(${projectPrefix}AS_SYSTEM_HEADERS "Exports library as system headers" OFF)
|
||||||
message(STATUS "${projectPrefix}AS_SYSTEM_HEADERS: ${${projectPrefix}AS_SYSTEM_HEADERS}")
|
message(STATUS "${projectPrefix}AS_SYSTEM_HEADERS: ${${projectPrefix}AS_SYSTEM_HEADERS}")
|
||||||
|
|
||||||
option(${projectPrefix}BUILD_LA "Build code depending on the linear algebra library" ON)
|
|
||||||
message(STATUS "${projectPrefix}BUILD_LA: ${${projectPrefix}BUILD_LA}")
|
|
||||||
|
|
||||||
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
|
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
|
||||||
|
|
||||||
include(AddUnitsModule)
|
include(AddUnitsModule)
|
||||||
|
@@ -86,10 +86,6 @@ inline constexpr bool is_vector = false;
|
|||||||
template<typename Rep>
|
template<typename Rep>
|
||||||
inline constexpr bool is_tensor = false;
|
inline constexpr bool is_tensor = false;
|
||||||
|
|
||||||
template<typename T>
|
|
||||||
requires requires { typename T::element_type; }
|
|
||||||
inline constexpr bool treat_as_floating_point<T> = treat_as_floating_point<typename T::element_type>;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief A type trait that defines zero, one, min, and max for a representation type
|
* @brief A type trait that defines zero, one, min, and max for a representation type
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user