Skip to content

Commit

Permalink
Fix dark floating-point bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wawanbreton committed Oct 10, 2023
1 parent 5f3a1f4 commit 1f8df4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LayerPlanBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ void LayerPlanBuffer::insertFinalPrintTempCommand(std::vector<ExtruderPlan*>& ex
return;
}

assert((time_window >= 0 || last_extruder_plan.estimates.material == 0) && "Time window should always be positive if we actually extrude");
assert((time_window >= -0.001 || last_extruder_plan.estimates.material == 0) && "Time window should always be positive if we actually extrude");

// ,layer change .
// : ,precool command ,layer change .
Expand Down

0 comments on commit 1f8df4c

Please sign in to comment.