Skip to content

Commit

Permalink
fix the last solaris bug
Browse files Browse the repository at this point in the history
  • Loading branch information
adalisan committed Sep 11, 2017
1 parent cf5e12d commit f091307
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/graphm/hungarian.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,8 @@ void gsl_matrix_hungarian(gsl_matrix* gm_C,gsl_matrix* gm_P,gsl_vector* gv_col_i
for (long l=0;l<n1*n2;l++)
{
ind=C_ind[l];
ind1=floor(((int)ind)/n1);
float inde1= float(ind)/float(n1);
ind1=floor(inde1);
ind2=ind%n2;

if (!bperm_fix_1[ind1] and !bperm_fix_2[ind2])
Expand Down

0 comments on commit f091307

Please sign in to comment.