File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ greedySearch stopSearch outVec txInsVec utxosVec
293293 | null utxosVec =
294294 printBpiLog @ w (Debug [CoinSelectionLog ]) " Greedy: The list of remanining UTxO vectors in null."
295295 >> pure (Right mempty )
296- -- we stop the search is the predicate `stopSearch` is true.
296+ -- we stop the search if the predicate `stopSearch` is true.
297297 | stopSearch txInsVec =
298298 printBpiLog @ w (Debug [CoinSelectionLog ]) " Greedy: Stopping search early."
299299 >> pure (Right mempty )
@@ -363,7 +363,7 @@ greedyApprox stopSearch outVec txInsVec utxosVec
363363 | null utxosVec =
364364 printBpiLog @ w (Debug [CoinSelectionLog ]) " Greedy Pruning: The list of remanining UTxO vectors in null."
365365 >> pure (Right mempty )
366- -- we stop the search is the predicate `stopSearch` is true.
366+ -- we stop the search if the predicate `stopSearch` is true.
367367 | stopSearch txInsVec =
368368 printBpiLog @ w (Debug [CoinSelectionLog ]) " Greedy Pruning: Stopping search early."
369369 >> pure (Right mempty )
@@ -417,7 +417,7 @@ l2norm v1 v2
417417 | otherwise =
418418 Left $
419419 pack $
420- " Error: The length of the vectors should be same for l2norm. "
420+ " Error: The length of the vectors should be same for l2norm."
421421 <> " length of vector v1: "
422422 <> show (length v1)
423423 <> " "
@@ -482,7 +482,7 @@ opVec f v1 v2
482482 | otherwise =
483483 Left $
484484 pack $
485- " Error: The length of the vectors should be same for addition ."
485+ " Error: The length of the vectors should be same for arithemetic operation ."
486486 <> " length of vector v1: "
487487 <> show (length v1)
488488 <> " "
You can’t perform that action at this time.
0 commit comments