fix warnings showing up with -Wall (#2692)

This commit is contained in:
Ronan Collobert
2025-10-24 11:43:35 -07:00
committed by GitHub
parent 233384161e
commit 8f8af61a37
30 changed files with 35 additions and 222 deletions

View File

@@ -271,7 +271,7 @@ svd(const array& a, bool compute_uv, StreamOrDevice s /* = {} */) {
if (!compute_uv) {
return {array(
std::move(s_shape),
std::move(a.dtype()),
a.dtype(),
std::make_shared<SVD>(to_stream(s), compute_uv),
{a})};
}