Skip to content

Commit

Permalink
bad logic
Browse files Browse the repository at this point in the history
  • Loading branch information
vladfdp committed Jun 6, 2024
1 parent 6db4c2f commit 35c07ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icicle/src/msm/msm.cu
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ namespace msm {
}
bool is_signed = (c == 1) ? false : config.is_signed;

if (config.is_signed || !config.is_big_triangle) {
if (config.is_signed && !config.is_big_triangle) {
THROW_ICICLE_ERR(
IcicleError_t::InvalidArgument, "bucket_method_msm: signed msm currently only works with big triangle");
}
Expand Down

0 comments on commit 35c07ae

Please sign in to comment.