diff --git a/c_runtime/matrix.h b/c_runtime/matrix.h index 7c4145732ee..681e4e4e909 100644 --- a/c_runtime/matrix.h +++ b/c_runtime/matrix.h @@ -28,10 +28,12 @@ void hybrd_(void (*) (int*, double *, double*, int*), #endif #define declare_matrix(A,nrows,ncols) double *A = new double[nrows*ncols]; \ -assert(A!=0); +assert(A!=0); \ +for (int i=0;i