From a0b4097f5dc736f114fc3538706c59372d5d3f4a Mon Sep 17 00:00:00 2001 From: david Date: Wed, 19 Mar 2003 00:30:42 +0000 Subject: [PATCH] Fix iterator assignment. --- src/Prep/ArrayFit/arrayfit.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Prep/ArrayFit/arrayfit.cxx b/src/Prep/ArrayFit/arrayfit.cxx index eff3aa3d..23e1955a 100644 --- a/src/Prep/ArrayFit/arrayfit.cxx +++ b/src/Prep/ArrayFit/arrayfit.cxx @@ -280,7 +280,7 @@ int main( int argc, char **argv ) { gts_surface_foreach_face( surface, (GtsFunc)pick_first_face, &first ); double max_error = 0; - point_list_iterator mark = NULL; + point_list_iterator mark = pending.end(); // iterate through all remaining points point_list_iterator current = pending.begin();