mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
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:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user