Changeset 986 for trunk/optimizer/src/pgapack/pgapack/source/pga.c
- Timestamp:
- Apr 2, 2008, 2:32:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/optimizer/src/pgapack/pgapack/source/pga.c
r816 r986 71 71 72 72 #include "pgapack.h" 73 #include <setjmp.h> 74 75 jmp_buf pgapack_jmpbuf; 73 76 74 77 /*U**************************************************************************** … … 112 115 ndemes = PGAGetNumDemes (ctx); 113 116 117 if (setjmp(pgapack_jmpbuf)) { 118 return; /* PGA pack was aborted. */ 119 } 114 120 /**********************************************************************/ 115 121 /* Global model, one island, one deme */ 116 122 /**********************************************************************/ 117 if ( (npops == 1) && (ndemes == 1) ) { 118 123 if ( (npops == 1) && (ndemes == 1) ) { 119 124 PGARunGM(ctx, evaluate, comm); 120 125 }
Note: See TracChangeset
for help on using the changeset viewer.