From 25b30382dc2c7d77a91e4dd71718541c37fa61f1 Mon Sep 17 00:00:00 2001 From: vijay gopal chilkuri Date: Wed, 23 Jun 2021 15:08:38 +0530 Subject: [PATCH] Modified library function. #20 --- org/qmckl_jastrow.org | 2 +- tools/lib.org | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/org/qmckl_jastrow.org b/org/qmckl_jastrow.org index 4852544..4f22db2 100644 --- a/org/qmckl_jastrow.org +++ b/org/qmckl_jastrow.org @@ -88,7 +88,7 @@ int main() { #+RESULTS: #+begin_src c :tangle (eval h_func) :comments org qmckl_exit_code qmckl_jastrow ( - const uninitialized int32_t, + const uninitialized int32_t, const aord_num int64_t, const bord_num int64_t, const cord_num int64_t, diff --git a/tools/lib.org b/tools/lib.org index 3536c32..ec9a2c5 100644 --- a/tools/lib.org +++ b/tools/lib.org @@ -124,8 +124,7 @@ for d in parse_table(table): results += [ f" {const}{c_type} {name}" ] results=',\n'.join(results) -template = f"""{rettyp} {fname} ( -{results} ); """ +template = f"""{rettyp} {fname} (\n{results} ); """ return template #+END_SRC