64 #define FREE_80(x) if ((char *)(x) != NULL) free((char *)(x))
66 #define FREE_CMATRIX_80(m) mne_free_cmatrix_80((m))
68 void mne_free_cmatrix_80 (
float **m)
80 using namespace Eigen;
81 using namespace FWDLIB;
82 using namespace MNELIB;
88 FwdThreadArg::FwdThreadArg()
125 *new_bem = *orig_bem;
127 res->client = new_bem;
134 void FwdThreadArg::free_eeg_multi_thread_duplicate(
FwdThreadArg *one,
bool bem_model)
137 qDebug(
"Pointer passed is null. Returning early.");
166 comp->vec_work = NULL;
173 *new_bem = *orig_bem;
175 comp->client = new_bem;
182 void FwdThreadArg::free_meg_multi_thread_duplicate(
FwdThreadArg *one,
bool bem_model)
186 qDebug(
"Pointer passed is null. Returning early.");
193 FREE_CMATRIX_80(comp->vec_work);