BUG FIX - Addition of missing parameter in random::uniform (#2963)
Co-authored-by: Hartwig Wiesmann <[email protected]>
This commit is contained in:
co-authored by
Hartwig Wiesmann
parent
d9b950eb2f
commit
8de9ceb7d6
+1
-1
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user