Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Addresses issue dtarb#228 and applies the fix recommended by dtarb (r…
…epo author). I made code modifications to only src/area.cpp but wrote comments of possible issues that may occure in createpart.h, I will expand on this here. The previous expectation was athe value -1.0f and in createpartion.h this is of type double. The change swaps this value to MISSINGFLOAT which == MAXFLOAT * -1. This creates the 2's compliment of MAXFLOAT. Because this is of type double it should be recieved without issue but, it appears in certain cases, theis variable is recast as int32_t and more worrisome, int16_t, if this is the case, overflow errors may occur. This may be of no significance as the MISSINGFLOAT is a method of error handling not computation. This code has not been tested and should not be merged until that has occued and QC has taken place. DO NOT MERGE UNTIL AFTER QC.
- Loading branch information