File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -384,6 +384,8 @@ def std(x: array,
384384 _correction = int (correction )
385385 if correction != _correction :
386386 raise NotImplementedError ("float correction in torch std() is not yet supported" )
387+ else :
388+ _correction = correction
387389
388390 # https://github.com/pytorch/pytorch/issues/29137
389391 if axis == ():
Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[_
130130array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[floor_divide(x1, x2)]
131131array_api_tests/test_operators_and_elementwise_functions.py::test_greater[__gt__(x1, x2)]
132132array_api_tests/test_operators_and_elementwise_functions.py::test_greater[greater(x1, x2)]
133+ array_api_tests/test_operators_and_elementwise_functions.py::test_greater_equal[greater_equal(x1, x2)]
133134array_api_tests/test_operators_and_elementwise_functions.py::test_less[__lt__(x1, x2)]
134135array_api_tests/test_operators_and_elementwise_functions.py::test_less[less(x1, x2)]
135136array_api_tests/test_operators_and_elementwise_functions.py::test_less_equal[less_equal(x1, x2)]
You can’t perform that action at this time.
0 commit comments