Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/SummaryTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down