Skip to content

Commit

Permalink
Typedef real_t when building without ParMetis
Browse files Browse the repository at this point in the history
  • Loading branch information
bozbez committed Jan 21, 2025
1 parent d72f0b2 commit e48b9a7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion op2/src/mpi/op_mpi_part_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
// ptscotch header
#ifdef HAVE_PTSCOTCH
#include <ptscotch.h>

#endif

// parmetis header
Expand All @@ -70,8 +69,12 @@ typedef int idx_t;
// kaHIP header
#ifdef HAVE_KAHIP
#include <parhip_interface.h>
#endif

#ifndef HAVE_PARMETIS
typedef float real_t;
#endif

#include <op_lib_mpi.h>

// double min/max
Expand Down

0 comments on commit e48b9a7

Please sign in to comment.