git-svn-id: svn://db.shs.com.ru/pip@743 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2019-02-09 23:03:31 +00:00
parent 940274e378
commit 830bd93eaf
2 changed files with 6 additions and 2 deletions

View File

@@ -358,6 +358,7 @@ private:
piv_size = new_size;
size_t as = asize(new_size);
if (as == piv_rsize) return;
if(as > 1000) printf("too much vector size %d(%d)", new_size, as);
//cout << std::hex << " ![("<<this<<")realloc " << piv_data << " data ... <\n" << endl;
T * p_d = (T*)(realloc((void*)(piv_data), as*sizeof(T)));