Skip to content

Commit 18f8362

Browse files
committed
fixed some spelling mistakes
1 parent 5323389 commit 18f8362

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// MIT License
22
//
3-
// Copyright(c) 2026 Jakub B¹czyk
3+
// Copyright(c) 2026 Jakub B?czyk
44
//
55
// Permission is hereby granted, free of charge, to any person obtaining a copy
66
// of this software and associated documentation files(the "Software"), to deal
@@ -72,7 +72,7 @@ class Digraph
7272
float paths = walkMatrix.get(i, j);
7373
if (paths > 0.0f)
7474
{
75-
fmt::print("There are {} paths of length {} from {} to {}\n", paths, static_cast<uint32_t>(length), m_ixToVert.at(i), m_ixToVert.at(j));
75+
fmt::print("There's a path of length {} from {} to {}\n", paths, static_cast<uint32_t>(length), m_ixToVert.at(i), m_ixToVert.at(j));
7676
pathCount++;
7777
}
7878
}
@@ -230,7 +230,7 @@ int main(int argc, char** argv)
230230
bool run = true;
231231
while (run)
232232
{
233-
int choice = menu("Choose an action:\n\t1. Look for paths with specified lenght\n\t2. Check wether the graph is acyclic\n\t3. Exit\n\nChoice: ");
233+
int choice = menu("Choose an action:\n\t1. Look for paths with specified lenght\n\t2. Check whether the graph is acyclic\n\t3. Exit\n\nChoice: ");
234234

235235
switch (choice)
236236
{

0 commit comments

Comments
 (0)