replaced defined(DOUBLE) by !defined(XDOUBLE)
Merge pull request #249 from wernsaar/develop

replaced defined(DOUBLE) by !defined(XDOUBLE)