Ignore:
Timestamp:
Apr 30, 2010, 8:57:25 PM (14 years ago)
Author:
steve
Message:

Ran into a problem with metis with a conflict with the naming of a procedure
log2 with ubuntu 9.10. Changed it over to ilog2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/pymetis/metis-4.0/Lib/mkmetis.c

    r2051 r7705  
    4848  }
    4949  ctrl.optype = OP_KMETIS;
    50   ctrl.CoarsenTo = amax((*nvtxs)/(20*log2(*nparts)), 30*(*nparts));
     50  ctrl.CoarsenTo = amax((*nvtxs)/(20*ilog2(*nparts)), 30*(*nparts));
    5151
    5252  ctrl.nmaxvwgt = 1.5/(1.0*ctrl.CoarsenTo);
Note: See TracChangeset for help on using the changeset viewer.