From b5dc71637e37bd9bd3d4b6cbec62e453d22e273a Mon Sep 17 00:00:00 2001 From: Sancar Adali Date: Wed, 9 Aug 2017 19:58:51 -0400 Subject: [PATCH] fix solaris bug --- src/graphm/algorithm_path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphm/algorithm_path.cpp b/src/graphm/algorithm_path.cpp index b5321c3..65023de 100644 --- a/src/graphm/algorithm_path.cpp +++ b/src/graphm/algorithm_path.cpp @@ -121,7 +121,7 @@ match_result algorithm_path::match(graph& g, graph& h,gsl_matrix* gm_P_i, gsl_ma gm_P_bp_temp=gsl_matrix_alloc(N, N); gm_P_bp=gsl_matrix_alloc(N, N); }; - int Nqua = pow(N, 4); + long Nqua = pow(N, (int)4); //*************ALGORITHM*********************** bool bpath_continue=true; double dlambda_add=dlambda_min;