mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-16 01:49:05 +08:00
fix warnings showing up with -Wall (#2692)
This commit is contained in:
@@ -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})};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user