Since no proper flatfields have been made so far, a check is made to see if all the flatfield pixels are unity- if so the input image is not corrected but a warning issued. This saves a considerable amount of computing time.