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)
 | 
					  | #DistPlus(DistPlus.t)
 | 
				
			||||||
  | #Float(float)
 | 
					  | #Float(float)
 | 
				
			||||||
  | #Function(
 | 
					  | #Function(
 | 
				
			||||||
| 
						 | 
					@ -126,7 +126,7 @@ let coersionToExportedTypes = (
 | 
				
			||||||
  inputs,
 | 
					  inputs,
 | 
				
			||||||
  env: ASTTypes.environment,
 | 
					  env: ASTTypes.environment,
 | 
				
			||||||
  node: ASTTypes.node,
 | 
					  node: ASTTypes.node,
 | 
				
			||||||
): result<\"export", string> =>
 | 
					): result<exported, string> =>
 | 
				
			||||||
  node
 | 
					  node
 | 
				
			||||||
  |> renderIfNeeded(inputs)
 | 
					  |> renderIfNeeded(inputs)
 | 
				
			||||||
  |> E.R.bind(_, x =>
 | 
					  |> E.R.bind(_, x =>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -75,6 +75,8 @@ module AlgebraicCombination = {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
module PointwiseCombination = {
 | 
					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) =>
 | 
					  let pointwiseAdd = (evaluationParams: evaluationParams, t1: t, t2: t) =>
 | 
				
			||||||
    switch (Node.render(evaluationParams, t1), Node.render(evaluationParams, t2)) {
 | 
					    switch (Node.render(evaluationParams, t1), Node.render(evaluationParams, t2)) {
 | 
				
			||||||
    | (Ok(#RenderedDist(rs1)), Ok(#RenderedDist(rs2))) =>
 | 
					    | (Ok(#RenderedDist(rs1)), Ok(#RenderedDist(rs2))) =>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user