Skip to content

Commit eaa2b94

Browse files
committed
Fixed invalid filters if LSF=0
1 parent ba3faff commit eaa2b94

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/fast++-read_input.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -1809,6 +1809,11 @@ bool read_lsf_spec(const options_t& opts, input_state_t& state) {
18091809
return false;
18101810
}
18111811

1812+
if (lsf == 0.0) {
1813+
// Nothing to do.
1814+
continue;
1815+
}
1816+
18121817
// Increasing width by 7*lsf brings us reliably to ~ zero transmission.
18131818
double dll = dl + 7*lsf;
18141819
// 81 uniform samples provides a good sampling in all cases.

0 commit comments

Comments
 (0)