Skip to content

Commit

Permalink
Update src/valid/expression.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Erich Gubler <[email protected]>
  • Loading branch information
fornwall and ErichDonGubler authored Sep 5, 2023
1 parent 6732dbb commit a445fcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/valid/expression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ impl super::Validator {
}
}
Mf::Sign => {
if arg1_ty.is_some() | arg2_ty.is_some() | arg3_ty.is_some() {
if arg1_ty.is_some() || arg2_ty.is_some() || arg3_ty.is_some() {
return Err(ExpressionError::WrongArgumentCount(fun));
}
match *arg_ty {
Expand Down

0 comments on commit a445fcd

Please sign in to comment.