#include "AnT.hpp"

#define X     currentState[0]
#define Y     currentState[1]

bool gbm (const Array<real_t>&currentState,
	  const Array<real_t>& parameters,
	  Array<real_t>& rhs)
{
  rhs[0] = 1 - Y + fabs(X);
  rhs[1] = X;

  return true;
}

#undef X
#undef Y

extern "C" { void connectSystem () { MapProxy::systemFunction = gbm; } }

