Fixed most tests
Value: [1e-5 to 1e-3]
This commit is contained in:
parent
0e9996256e
commit
f05d089524
|
@ -4,6 +4,7 @@ import {
|
||||||
samplingParams,
|
samplingParams,
|
||||||
environment,
|
environment,
|
||||||
evaluatePartialUsingExternalBindings,
|
evaluatePartialUsingExternalBindings,
|
||||||
|
evaluateUsingOptions,
|
||||||
externalBindings,
|
externalBindings,
|
||||||
expressionValue,
|
expressionValue,
|
||||||
recordEV,
|
recordEV,
|
||||||
|
@ -110,7 +111,10 @@ export function run(
|
||||||
? samplingInputs
|
? samplingInputs
|
||||||
: defaultSamplingInputs;
|
: defaultSamplingInputs;
|
||||||
let e = environ ? environ : defaultEnvironment;
|
let e = environ ? environ : defaultEnvironment;
|
||||||
let res: result<expressionValue, errorValue> = eval(squiggleString); // , b, e);
|
let res: result<expressionValue, errorValue> = evaluateUsingOptions(
|
||||||
|
{ externalBindings: b, environment: e },
|
||||||
|
squiggleString
|
||||||
|
); // , b, e);
|
||||||
return resultMap(res, (x) => createTsExport(x, si));
|
return resultMap(res, (x) => createTsExport(x, si));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user