savepoint while wrangling types.
This commit is contained in:
		
							parent
							
								
									fb21e4baa6
								
							
						
					
					
						commit
						90e48d2249
					
				
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							|  | @ -51,7 +51,7 @@ let mixture (samplers: (unit -> float) array) (weights: float array) = | |||
|         let chosenSamplerIndex = findIndex cumsummed_normalized_weights (fun x -> x < p) in | ||||
|         let sample = match chosenSamplerIndex with | ||||
|           | None -> None | ||||
|           | Some(i) -> Some(1.0) (* (samplers.(i) ()) |> Some *) | ||||
|           | Some(i) -> Some((samplers.(i) ())) (* (samplers.(i) ()) |> Some *) | ||||
|         in | ||||
|         sample | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user