jfrasch / qpDUNES

qpDUNES - an implementation of the DUal NEwton Strategy for quadratic programming
24 stars 17 forks source link

Safer calloc #5

Open mvukov opened 10 years ago

mvukov commented 10 years ago

in 35718926feeb70bc5b35793cef797a7fc3035e9e I added the custom calloc, which basically does an assertion on calloc returned value. This is kinda nasty, but better this than nothing. Said nasty, cause this can possibly crash MATLAB. Something a bit more sophisticated should be implemented, IMO.