Skip to content

Commit

Permalink
get rid of harmless uninitialized variable error here
Browse files Browse the repository at this point in the history
  • Loading branch information
solomonik committed Nov 9, 2023
1 parent 24b9ff8 commit cbbb96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapping/topology.cxx
Expand Up @@ -566,7 +566,7 @@ namespace CTF_int {
* \return all possible collections of natural numbers that multiply to size (excluding 1s)
*/
std::vector< std::vector<int>* > get_all_shapes(int size){
int nfact, * factors;
int nfact, * factors = NULL;
factorize(size, &nfact, &factors);
if (nfact <= 1){
std::vector<std::vector<int>*> shapes;
Expand Down

0 comments on commit cbbb96f

Please sign in to comment.