Improved comment for enrich

Value: [1e-9 to 1e-6]
This commit is contained in:
Quinn Dougherty 2022-05-12 11:16:51 -04:00
parent 12c0959f38
commit eee9a46c37

View File

@ -453,8 +453,10 @@ module PointwiseCombination = {
T.filterOkYs(newXs, newYs)->Ok T.filterOkYs(newXs, newYs)->Ok
} }
// *Dead code*: Nuño wrote this function to try to increase precision, but it didn't work. /* *Dead code*: Nuño wrote this function to try to increase precision, but it didn't work.
// If another traveler comes through with a similar idea, we hope this implementation will help them. If another traveler comes through with a similar idea, we hope this implementation will help them.
By "enrich" we mean to increase granularity.
*/
let enrichXyShape = (t: T.t): T.t => { let enrichXyShape = (t: T.t): T.t => {
let defaultEnrichmentFactor = 10 let defaultEnrichmentFactor = 10
let length = E.A.length(t.xs) let length = E.A.length(t.xs)