Debug Assertion Failed! Expression: _BLOCK_TYPE_IS_VALID [closed]
I am getting this error message: Debug Assertion Failed! Expression:_BLOCK_TYPE_US_VALID(pHead->nBlockUse) while trying to do the following #include <vector> #include <algorithm> using namespace std; class NN { public: NN(const int numLayers,const int *lSz,const int AFT,const int OAF,const double initWtMag,const int UEW,const double *extInitWt); double sse; bool operator < (const NN &net) const {return sse < net.sse;} }; class Pop { int popSize; double a; public: Pop(const int numLayers,const int *lSz,const int AFT,const int OAF,const double initWtMag,const int numNets,const double alpha);