Skip to content

Commit

Permalink
clangd warning fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
GValiente committed Oct 31, 2023
1 parent 2dba94c commit d55f616
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions butano/include/bn_affine_mat_attributes.h
Original file line number Diff line number Diff line change
Expand Up @@ -400,11 +400,11 @@ class affine_mat_attributes

if(scale_8_data < reciprocal_16_lut_size) [[likely]]
{
return is_constant_evaluated() ? calculate_reciprocal_lut_value<16>(scale_8_data).data() :
return is_constant_evaluated() ? uint16_t(calculate_reciprocal_lut_value<16>(scale_8_data).data()) :
reciprocal_16_lut._data[scale_8_data];
}

return calculate_reciprocal_lut_value<16>(scale_8_data).data();
return uint16_t(calculate_reciprocal_lut_value<16>(scale_8_data).data());
}

constexpr void _update_rotation_angle()
Expand Down

0 comments on commit d55f616

Please sign in to comment.