From 0342449621b7b983023b6273a325c8ad9c96daaa Mon Sep 17 00:00:00 2001 From: vijay gopal chilkuri Date: Thu, 8 Jul 2021 11:41:32 +0530 Subject: [PATCH] Reinstate tests for factor_ee. #22 --- org/qmckl_jastrow.org | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/org/qmckl_jastrow.org b/org/qmckl_jastrow.org index 8e2196c..c179ef5 100644 --- a/org/qmckl_jastrow.org +++ b/org/qmckl_jastrow.org @@ -1722,13 +1722,13 @@ print("factor_ee :",factor_ee) #+begin_src c :tangle (eval c_test) /* Check if Jastrow is properly initialized */ -//assert(qmckl_jastrow_provided(context)); -// -//double factor_ee[walk_num]; -//rc = qmckl_get_jastrow_factor_ee(context, factor_ee); -// -//// calculate factor_ee -//assert(fabs(factor_ee[0]+4.282760865958113) < 1.e-12); +assert(qmckl_jastrow_provided(context)); + +double factor_ee[walk_num]; +rc = qmckl_get_jastrow_factor_ee(context, factor_ee); + +// calculate factor_ee +assert(fabs(factor_ee[0]+4.282760865958113) < 1.e-12); #+end_src