mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-12-15 17:41:25 +01:00
removed warnings added clang-tidy
This commit is contained in:
@@ -70,7 +70,7 @@ uint8_t Dtype::bitdepth() const {
|
||||
/**
|
||||
* @brief Get the number of bytes of the data type
|
||||
*/
|
||||
size_t Dtype::bytes() const { return bitdepth() / 8; }
|
||||
size_t Dtype::bytes() const { return bitdepth() / bits_per_byte; }
|
||||
|
||||
/**
|
||||
* @brief Construct a DType object from a TypeIndex
|
||||
|
||||
Reference in New Issue
Block a user