This fixes issue #1415 by putting math.h and Rmath.h includes first in predefinedNimbleLists.cpp and when generating C++ files based on CPPincludes.
Not sure whether any other RH-related Linux variants are affected. Fedora seems fine based on CRAN testing and SL7 fine based on use on Savio. Not sure about CentOS.
This fixes issue #1415 by putting
math.h
andRmath.h
includes first inpredefinedNimbleLists.cpp
and when generating C++ files based onCPPincludes
.Not sure whether any other RH-related Linux variants are affected. Fedora seems fine based on CRAN testing and SL7 fine based on use on Savio. Not sure about CentOS.