Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Jan 7, 2025
1 parent 41e793d commit de7c13a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inexact/src/primitive_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ impl PrimitiveSet for SmallPrimitiveSet {
memory.operate_unary(|x| Number::from_f64(exp(x.to_f64())))?
}
Primitive::LOGARITHM => memory.operate_unary(|x| Number::from_f64(log(x.to_f64())))?,
_ => return Err(Error::IllegalPrimitive.into()),
_ => return Err(Error::IllegalPrimitive),
}

Ok(())
Expand Down

0 comments on commit de7c13a

Please sign in to comment.