mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 03:35:52 +08:00
Bug fix in temporal scheduling constraint for object instances (object gluing).
This commit is contained in:
parent
242c1a0415
commit
f2d0bc1f4f
@ -558,7 +558,7 @@ void introduce_ConsequentialTemporalLepoxAgainstFixed(z3::solver
|
|||||||
for (unsigned int j = 0; j < undecided.size(); ++j)
|
for (unsigned int j = 0; j < undecided.size(); ++j)
|
||||||
{
|
{
|
||||||
Solver.add( Context.real_val(dec_values_T[fixed[i]].numerator, dec_values_T[fixed[i]].denominator) > dec_vars_T[undecided[j]] + temporal_spread
|
Solver.add( Context.real_val(dec_values_T[fixed[i]].numerator, dec_values_T[fixed[i]].denominator) > dec_vars_T[undecided[j]] + temporal_spread
|
||||||
|| Context.real_val(dec_values_T[next_i].numerator, dec_values_T[next_i].denominator) < dec_vars_T[undecided[j]] + temporal_spread);
|
|| Context.real_val(dec_values_T[next_i].numerator, dec_values_T[next_i].denominator) + temporal_spread < dec_vars_T[undecided[j]]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user