mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-09-20 16:44:15 +02:00
Modified library function. #20
This commit is contained in:
parent
b63f28ee72
commit
25b30382dc
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user