Skip to content

Commit

Permalink
#1996 simplify the retrun statement (no effect with tf_left at the se…
Browse files Browse the repository at this point in the history
…cond return
  • Loading branch information
Howard Soh committed Feb 25, 2022
1 parent ab26b48 commit eccbb38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion met/src/basic/vx_config/threshold.cc
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ if ( tf_left ) return ( true );

const bool tf_right = right_child->check(x, cmn, csd);

return ( tf_left || tf_right );
return ( tf_right );

}

Expand Down

0 comments on commit eccbb38

Please sign in to comment.