From 30aa513c4a1c000b1d69474a676b6097a923d94d Mon Sep 17 00:00:00 2001 From: Samuel Mediani <66485729+SamMed05@users.noreply.github.com> Date: Sun, 9 Nov 2025 19:48:48 +0100 Subject: [PATCH] Fix fCFS to FCFS (algorithm comparison typo) --- components/SummaryTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/SummaryTable.tsx b/components/SummaryTable.tsx index ce86297..a9cd68b 100644 --- a/components/SummaryTable.tsx +++ b/components/SummaryTable.tsx @@ -53,7 +53,7 @@ export function SummaryTable({ }); // If the algorithm is FCFS, calculate waiting and turnaround times after sorting by arrival time -if (algorithm === "fCFS") { +if (algorithm === "FCFS") { // Sort processes by arrival time for FCFS order, ignoring idle processes const sortedProcesses = [...calculatedProcesses].sort( (a, b) => a.arrival_time - b.arrival_time