Skip to content

Commit

Permalink
use pi
Browse files Browse the repository at this point in the history
  • Loading branch information
CAJan93 committed Jun 28, 2024
1 parent d623696 commit be412e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expr/impl/src/scalar/trigonometric.rs
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ mod tests {
#[test]
fn test_degrees() {
let d = F64::from(180);
let pi = F64::from(PI);
let pi = F64::from(core::f64::consts::PI);

// sind
assert_similar(sin_f64(50_f64.to_radians().into()), sind_f64(F64::from(50)));
Expand Down

0 comments on commit be412e2

Please sign in to comment.