Changeset 2843 for trunk/Ohana/src/opihi/cmd.astro/flux.c
- Timestamp:
- Dec 28, 2004, 8:40:04 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.astro/flux.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.astro/flux.c
r2598 r2843 4 4 5 5 int i, j, k, xmin, ymin, xmax, ymax; 6 intoldsignal;6 void *oldsignal; 7 7 double ax, ay, s, S, flux; 8 8 double bx[5], by[5], x[5], y[5], bb[5]; … … 51 51 we have to add up the angles for concave contours */ 52 52 flux = 0; 53 oldsignal = (int)signal (SIGINT, handle_interrupt);53 oldsignal = signal (SIGINT, handle_interrupt); 54 54 interrupt = FALSE; 55 55 for (j = ymin; (j < ymax) && !interrupt; j++) { … … 68 68 } 69 69 } 70 signal (SIGINT, (void *)oldsignal);70 signal (SIGINT, oldsignal); 71 71 72 72 fprintf (GetOutfile(), "flux: %f\n", flux);
Note:
See TracChangeset
for help on using the changeset viewer.
