summaryrefslogtreecommitdiff
path: root/science/openmx/files/patch-Band__DFT__NonCol.c
diff options
context:
space:
mode:
Diffstat (limited to 'science/openmx/files/patch-Band__DFT__NonCol.c')
-rw-r--r--science/openmx/files/patch-Band__DFT__NonCol.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/science/openmx/files/patch-Band__DFT__NonCol.c b/science/openmx/files/patch-Band__DFT__NonCol.c
deleted file mode 100644
index dfbcc2493215..000000000000
--- a/science/openmx/files/patch-Band__DFT__NonCol.c
+++ /dev/null
@@ -1,15 +0,0 @@
---- Band_DFT_NonCol.c.orig 2018-08-29 06:26:10 UTC
-+++ Band_DFT_NonCol.c
-@@ -554,9 +554,9 @@ double Band_DFT_NonCol(int SCF_iter,
-
- /* allocation */
-
-- stat_send = malloc(sizeof(MPI_Status)*numprocs1);
-- request_send = malloc(sizeof(MPI_Request)*numprocs1);
-- request_recv = malloc(sizeof(MPI_Request)*numprocs1);
-+ stat_send = (MPI_Status *)malloc(sizeof(MPI_Status)*numprocs1);
-+ request_send = (MPI_Request *)malloc(sizeof(MPI_Request)*numprocs1);
-+ request_recv = (MPI_Request *)malloc(sizeof(MPI_Request)*numprocs1);
-
- is1 = (int*)malloc(sizeof(int)*numprocs1);
- ie1 = (int*)malloc(sizeof(int)*numprocs1);