Skip to content

Commit

Permalink
Fix build error for SIMD=None (#481)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonLeeGit authored Jul 17, 2024
1 parent d78d427 commit ffdc45e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/astcenc_vecmathlib_none_4.h
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ struct vmask4
/**
* @brief Get the scalar value of a single lane.
*/
template <int l> ASTCENC_SIMD_INLINE float lane() const
template <int l> ASTCENC_SIMD_INLINE bool lane() const
{
return m[l] != 0;
}
Expand Down

0 comments on commit ffdc45e

Please sign in to comment.