BUG FIX - Addition of missing parameter in random::uniform (#2963)

Co-authored-by: Hartwig Wiesmann <[email protected]>
This commit is contained in:
hwiesmann
2025-12-31 16:02:50 -08:00
committed by GitHub
co-authored by Hartwig Wiesmann
parent d9b950eb2f
commit 8de9ceb7d6
+1 -1
View File
@@ -89,7 +89,7 @@ inline array uniform(
const Shape& shape,
const std::optional<array>& key = std::nullopt,
StreamOrDevice s = {}) {
return uniform(shape, float32, key);
return uniform(shape, float32, key, s);
}
/** Generate samples from the standard normal distribution. */