Skip to content

Commit 30aa513

Browse files
committed
Fix fCFS to FCFS (algorithm comparison typo)
1 parent 792705a commit 30aa513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/SummaryTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export function SummaryTable({
5353
});
5454

5555
// If the algorithm is FCFS, calculate waiting and turnaround times after sorting by arrival time
56-
if (algorithm === "fCFS") {
56+
if (algorithm === "FCFS") {
5757
// Sort processes by arrival time for FCFS order, ignoring idle processes
5858
const sortedProcesses = [...calculatedProcesses].sort(
5959
(a, b) => a.arrival_time - b.arrival_time

0 commit comments

Comments
 (0)