You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
amg4psblas/cbind/mlprec/amg_c_zprec.c

22 lines
319 B
C

#include <stdlib.h>
#include "mld_c_dprec.h"
mld_c_dprec* mld_c_new_dprec()
{
mld_c_dprec* temp;
temp=(mld_c_dprec *) malloc(sizeof(mld_c_dprec));
temp->dprec=NULL;
return(temp);
}
int mld_c_delete_dprec(mld_c_dprec* p)
{
int iret;
iret=mld_c_dprecfree(p);
if (iret ==0) free(p);
return(iret);
}