Commit c5de7b14 authored by Ali Safari's avatar Ali Safari
Browse files

this version of code is going to be used for a test case of calculationg...

this version of code is going to be used for a test case of calculationg spectrum of laplacian for n=2**17 without damage
parent 3a1b0aa9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@ int main(int argc, char **argv)
        {res[i] = 0.;}

        //number of nonzeroes in upper triangular matrix, always including diagonal
        MKL_INT nnz = ncsr.get_n_of_links() + newN ;//The adjacency matrix is symmetric but the Normallized laplacian is not
        MKL_INT nnz = ncsr.get_n_of_links()/2 + newN ;//The adjacency matrix is symmetric but the Normallized laplacian is not
        double  *a  = (double*)mkl_malloc(nnz*sizeof(double),64);
        MKL_INT *ja = (MKL_INT*)mkl_malloc(nnz*sizeof(MKL_INT),64);
        MKL_INT *ia = (MKL_INT*)mkl_malloc((newN+1)*sizeof(MKL_INT),64);
+1 −1

File changed.

Contains only whitespace changes.