diff --git a/org/qmckl_jastrow.org b/org/qmckl_jastrow.org index 79ef6bf..12ef37c 100644 --- a/org/qmckl_jastrow.org +++ b/org/qmckl_jastrow.org @@ -2436,14 +2436,14 @@ print("factor_en :",factor_en) #+begin_src c :tangle (eval c_test) -///* Check if Jastrow is properly initialized */ -//assert(qmckl_jastrow_provided(context)); -// -//double factor_en[walk_num]; -//rc = qmckl_get_jastrow_factor_en(context, factor_en); -// -//// calculate factor_en -//assert(fabs(factor_en[0]+5.865822569188727) < 1.e-12); +/* Check if Jastrow is properly initialized */ +assert(qmckl_jastrow_provided(context)); + +double factor_en[walk_num]; +rc = qmckl_get_jastrow_factor_en(context, factor_en); + +// calculate factor_en +assert(fabs(factor_en[0]+5.865822569188727) < 1.e-12); #+end_src