Changeset 34089 for trunk/ppStack/src/ppStackConvolve.c
- Timestamp:
- Jun 26, 2012, 11:47:13 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackConvolve.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackConvolve.c
r32170 r34089 7 7 psMetadataItem *item = psMetadataLookup(SOURCE->concepts, NAME); \ 8 8 psAssert(item, "Concept should be present"); \ 9 psAssert(item->type == PS_ TYPE_F32, "Concept should be F32"); \9 psAssert(item->type == PS_DATA_F32, "Concept should be F32"); \ 10 10 item->data.F32 = VALUE; \ 11 11 } … … 101 101 if (!ppStackMatch(readout, target, options, i, config)) { 102 102 // XXX many things can cause a failure of ppStackMatch -- should some be handled differently? 103 psErrorCode error = psErrorCodeLast(); // Error code 103 104 // gcc -Wswitch complains here if err is declared as type psErrorCode 105 // the collection of ps*ErrorCode values are enums defined separately for 106 // each module (psphot, pswarp, etc). the lowest type, psErrorCode is only the base set and does 107 // not include the possible psphot values 108 109 // for now, to get around this, we just use an int for the switch 110 111 // psErrorCode error = psErrorCodeLast(); // Error code 112 int error = psErrorCodeLast(); // Error code 104 113 switch (error) { 105 114 // Fatal errors
Note:
See TracChangeset
for help on using the changeset viewer.
