Fix bin/publish: use correct .env path for rspade_system Fix bin/publish script: prevent grep exit code 1 from terminating script 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
13 lines
482 B
JavaScript
Executable File
13 lines
482 B
JavaScript
Executable File
import { unsafeUniformArrayIntDistribution } from './UnsafeUniformArrayIntDistribution.js';
|
|
function uniformArrayIntDistribution(from, to, rng) {
|
|
if (rng != null) {
|
|
var nextRng = rng.clone();
|
|
return [unsafeUniformArrayIntDistribution(from, to, nextRng), nextRng];
|
|
}
|
|
return function (rng) {
|
|
var nextRng = rng.clone();
|
|
return [unsafeUniformArrayIntDistribution(from, to, nextRng), nextRng];
|
|
};
|
|
}
|
|
export { uniformArrayIntDistribution };
|