#ifndef __INCLUDE_TKRECEPTOR__
#define __INCLUDE_TKRECEPTOR__
-#include "math.h"
+#include <limits>
class TKCell;
class TKAxonTerminal;
class TKReceptor
{
public:
- TKReceptor(TKCell *theOwner) : mOwner(theOwner), mTerminal(0), mValue(NAN) {}
+ TKReceptor(TKCell *theOwner) : mOwner(theOwner), mTerminal(0), mValue(std::numeric_limits<float>::quiet_NaN()) {}
virtual ~TKReceptor() {}
void setTarget(TKAxonTerminal *theTerminal);