Update vm/src/stdlib/math.rs

Co-authored-by: Jeong YunWon <youknowone@users.noreply.github.com>

Co-authored-by: Jeong YunWon <youknowone@users.noreply.github.com>
This commit is contained in:
Dong In Kim
2021-08-16 17:11:47 +09:00
committed by GitHub
parent 6fa88ab05a
commit 405fc685bd

View File

@@ -145,7 +145,7 @@ fn math_pow(x: IntoPyFloat, y: IntoPyFloat, vm: &VirtualMachine) -> PyResult<f64
let value = x.powf(y);
return Ok(value);
Ok(value)
}
fn math_sqrt(value: IntoPyFloat, vm: &VirtualMachine) -> PyResult<f64> {