Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remaining teacher computation wrong? #998

Open
stm2 opened this issue Feb 20, 2023 · 0 comments
Open

remaining teacher computation wrong? #998

stm2 opened this issue Feb 20, 2023 · 0 comments

Comments

@stm2
Copy link
Member

stm2 commented Feb 20, 2023

int remain = (STUDENTS_PER_TEACHER * scholars[t].u->number - i + STUDENTS_PER_TEACHER - 1) / STUDENTS_PER_TEACHER;

Ich glaube, hier müsste remain=i / STUDENTS_PER_TEACHER; stehen. Was da berechnet wird, sind die bereits "benutzten" Lehrer der Lehrereinheit. In der Einheit scholars+t sollten aber die unbenutzten Personen lernen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant