Changed variable name export
This commit is contained in:
parent
96f0ab150d
commit
4bc15fdc0d
|
@ -36,7 +36,7 @@ module Inputs = {
|
|||
}
|
||||
}
|
||||
|
||||
type \"export" = [
|
||||
type exported = [
|
||||
| #DistPlus(DistPlus.t)
|
||||
| #Float(float)
|
||||
| #Function(
|
||||
|
@ -126,7 +126,7 @@ let coersionToExportedTypes = (
|
|||
inputs,
|
||||
env: ASTTypes.environment,
|
||||
node: ASTTypes.node,
|
||||
): result<\"export", string> =>
|
||||
): result<exported, string> =>
|
||||
node
|
||||
|> renderIfNeeded(inputs)
|
||||
|> E.R.bind(_, x =>
|
||||
|
|
|
@ -75,6 +75,8 @@ module AlgebraicCombination = {
|
|||
}
|
||||
|
||||
module PointwiseCombination = {
|
||||
//TODO: This is crude and slow. It forces everything to be pointSetDist, even though much
|
||||
//of the process could happen on symbolic distributions without a conversion to be a pointSetDist.
|
||||
let pointwiseAdd = (evaluationParams: evaluationParams, t1: t, t2: t) =>
|
||||
switch (Node.render(evaluationParams, t1), Node.render(evaluationParams, t2)) {
|
||||
| (Ok(#RenderedDist(rs1)), Ok(#RenderedDist(rs2))) =>
|
||||
|
|
Loading…
Reference in New Issue
Block a user