mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-06-26 15:12:24 +02:00
Modified library function. #20
This commit is contained in:
parent
b63f28ee72
commit
25b30382dc
|
@ -88,7 +88,7 @@ int main() {
|
||||||
#+RESULTS:
|
#+RESULTS:
|
||||||
#+begin_src c :tangle (eval h_func) :comments org
|
#+begin_src c :tangle (eval h_func) :comments org
|
||||||
qmckl_exit_code qmckl_jastrow (
|
qmckl_exit_code qmckl_jastrow (
|
||||||
const uninitialized int32_t,
|
const uninitialized int32_t,
|
||||||
const aord_num int64_t,
|
const aord_num int64_t,
|
||||||
const bord_num int64_t,
|
const bord_num int64_t,
|
||||||
const cord_num int64_t,
|
const cord_num int64_t,
|
||||||
|
|
|
@ -124,8 +124,7 @@ for d in parse_table(table):
|
||||||
results += [ f" {const}{c_type} {name}" ]
|
results += [ f" {const}{c_type} {name}" ]
|
||||||
|
|
||||||
results=',\n'.join(results)
|
results=',\n'.join(results)
|
||||||
template = f"""{rettyp} {fname} (
|
template = f"""{rettyp} {fname} (\n{results} ); """
|
||||||
{results} ); """
|
|
||||||
return template
|
return template
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
Loading…
Reference in New Issue
Block a user