Skip to content

Commit

Permalink
Update SequentialAlgoFloyd.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyKuz1001 authored Dec 8, 2019
1 parent 85e0d6f commit c6b4667
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Task02/SequentialAlgoFloyd.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ namespace Task02
{
public class SequentialAlgoFloyd
{
public static int[,] Execute()
public static int[,] Execute(Graph graph)
{
int n = GeneralResources.n;
int n = graph.graphAmountVertexes;
int[,] dist = new int[n, n];
Array.Copy(GeneralResources.graphMatrix, dist, n * n);
Array.Copy(graph.graphMatrix, dist, n * n);

for (int k = 0; k < n; k++)
{
Expand Down

0 comments on commit c6b4667

Please sign in to comment.