Fixed most tests
Value: [1e-5 to 1e-3]
This commit is contained in:
parent
0e9996256e
commit
f05d089524
|
@ -4,6 +4,7 @@ import {
|
|||
samplingParams,
|
||||
environment,
|
||||
evaluatePartialUsingExternalBindings,
|
||||
evaluateUsingOptions,
|
||||
externalBindings,
|
||||
expressionValue,
|
||||
recordEV,
|
||||
|
@ -110,7 +111,10 @@ export function run(
|
|||
? samplingInputs
|
||||
: defaultSamplingInputs;
|
||||
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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user