From 689415f8e9365e9ec541de28393e666ce40877cc Mon Sep 17 00:00:00 2001 From: Mark Berrill Date: Tue, 12 Jan 2016 14:26:48 -0500 Subject: [PATCH] Fixing compile error on MAC --- tests/lbpm_color_simulator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lbpm_color_simulator.h b/tests/lbpm_color_simulator.h index a3d6814e..c4abd442 100644 --- a/tests/lbpm_color_simulator.h +++ b/tests/lbpm_color_simulator.h @@ -97,7 +97,7 @@ public: static int max_id = -1; new_id->first = new_index->first; new_id->second = new_index->second; - if ( last_id!=NULL ) { + if ( last_id.get()!=NULL ) { // Compute the timestep-timestep map const IntArray& old_ids = last_id->second; ID_map_struct map = computeIDMap(Nx,Ny,Nz,old_ids,ids,newcomm);