Merge branch 'main' into FullSpectrum_integration

This commit is contained in:
SoftFever
2026-05-03 20:05:27 +08:00
committed by GitHub
10 changed files with 38 additions and 28 deletions

View File

@@ -67,7 +67,7 @@ LayerPtrs new_layers(
}
if (zaa_active) {
slice_z = lo + z_offset;
if (slice_z < lo || slice_z > hi) {
if ((slice_z < lo && !is_approx(slice_z, lo)) || (slice_z > hi && !is_approx(slice_z, hi))) {
throw RuntimeError("Bad min Z value");
}
}