We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f050e7 commit 169e238Copy full SHA for 169e238
src/adapt_strategy.rs
@@ -353,7 +353,7 @@ impl<F: CpuLogpFunc> AdaptStrategy for ExpWindowDiagAdapt<F> {
353
.grad
354
.iter()
355
.map(|&grad| grad.abs().recip().clamp(LOWER_LIMIT, UPPER_LIMIT))
356
- .map(|var| if var.is_finite() { Some(var) } else { Some(1.) })
+ .map(|var| if var.is_finite() { Some(var) } else { Some(1.) }),
357
);
358
}
359
0 commit comments