Commit 57bab69e authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

simpler fix.


Former-commit-id: a2115b166ae15cb967b28ca01bb84fd5c44e1d02
parent 95f10ac6
......@@ -509,11 +509,7 @@ void engine_repartition ( struct engine *e ) {
/* Dump the 3d array of cell IDs. */
printf( "engine_repartition: nodeIDs = reshape( [" );
for ( i = 0 ; i < cdim[0]*cdim[1]*cdim[2] ; i++ )
#if IDXTYPEWIDTH==32
printf( "%i " , nodeIDs[ i ] );
#else
printf( "%lli " , nodeIDs[ i ] );
#endif
printf( "%i " , (int)nodeIDs[ i ] );
printf("] ,%i,%i,%i);\n",cdim[0],cdim[1],cdim[2]);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment