From 7933757ac818917133dd981c2bfb846c6ce4c77d Mon Sep 17 00:00:00 2001 From: bbod Date: Tue, 31 Mar 2020 00:01:32 -0600 Subject: [PATCH] Auto Commit --- HW10/MakePermutationMatrix.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HW10/MakePermutationMatrix.cpp b/HW10/MakePermutationMatrix.cpp index 2b936b6..5bb629d 100644 --- a/HW10/MakePermutationMatrix.cpp +++ b/HW10/MakePermutationMatrix.cpp @@ -6,7 +6,7 @@ #include "mpi.h" #include #include -#include +#include std::vector MakePermutationMatrix::MakePermutation(std::vector source, int rank, int size, std::vector> costMatrix){ std::vector returnVector; @@ -15,7 +15,7 @@ std::vector MakePermutationMatrix::MakePermutation(std::vector sou std::sort(source.begin(), source.end()); std::vector myPerm = source; std::vector nextPerm = source; - auto lowest = INT_MAX; + auto lowest = LDBL_MAX; //return vector should be the size of number of processors as they are going to only return their own smallest. returnVector.resize(source.size(), 0);