snr correction

This commit is contained in:
Tr1xt4n 2023-03-17 11:55:39 +01:00
parent 74bcba2de3
commit 1f72ac29dc

View File

@ -19,9 +19,6 @@ public class MaxSNR extends Scheduler {
userMax.getPacketsSent().add(userMax.getPacketsToSend().get(0)); userMax.getPacketsSent().add(userMax.getPacketsToSend().get(0));
userMax.getPacketsToSend().remove(userMax.getPacketsToSend().get(0)); userMax.getPacketsToSend().remove(userMax.getPacketsToSend().get(0));
frame[ts][sp].setUser(selectionUtilisateur(sp, ts, users)); frame[ts][sp].setUser(selectionUtilisateur(sp, ts, users));
if (userMax.getPacketsToSend() == null) {
users.remove(userMax);
}
} }
} }
} }