Skip to content
Snippets Groups Projects
Commit 9861f733 authored by PIQUEREZ Corentin's avatar PIQUEREZ Corentin
Browse files

Merge remote-tracking branch 'origin/main'

parents d079e275 49932e1f
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ public class ShukanData ...@@ -14,7 +14,7 @@ public class ShukanData
/** Sort for teachers */ /** Sort for teachers */
private int[] tSort = new int[0]; private int[] tSort = new int[0];
/** Students */ /** Students */
private String[] students = {"Etu"}; private String[] students = {"Professeur"};
/** Sort for students */ /** Sort for students */
private int[] sSort = {0}; private int[] sSort = {0};
/** Scolar year (for displays) */ /** Scolar year (for displays) */
...@@ -362,10 +362,7 @@ public class ShukanData ...@@ -362,10 +362,7 @@ public class ShukanData
if (selLoad < 0) if (selLoad < 0)
for (int j = 0; j < curs.length; j++) for (int j = 0; j < curs.length; j++)
for (int i = 0; i < mod[j].length; i++) for (int i = 0; i < mod[j].length; i++)
load += mod[j][i].teacherLoad (tSort[selLoad + teachers.length], load += mod[j][i].teacherLoad (tSort[selLoad + teachers.length], week);
week);
else for (int i = 0; i < mod[selCur].length; i++)
load += mod[selCur][i].studentLoad (week);
return (load); return (load);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment