broadinstitute/gamgee — pull request #258 by kgururaj (2014-09-17 22:17:15+00:00)
Title: Integer cast fix

Fix for : https://github.com/broadinstitute/gamgee/issues/254

Modified convert_data_to_integer and convert_data_to_float so that vector_end and missing values

are correctly handled for INT8 and INT16 types. Since vector_end is
(INT8_MIN+1) while missing is (INT8_MIN), check if the dereferenced
value is <= vector_end. If yes, handle as special case and return
INT32_MIN+1 or INT32_MIN.