diff --git a/CMakeLists.txt b/CMakeLists.txt index 136ea963..6ff4c649 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required (VERSION 2.6) project (cint C) set(cint_VERSION_MAJOR "4") set(cint_VERSION_MINOR "0") -set(cint_VERSION_PATCH "1") +set(cint_VERSION_PATCH "2") set(cint_VERSION_TWEAK "0") set(cint_VERSION "${cint_VERSION_MAJOR}.${cint_VERSION_MINOR}.${cint_VERSION_PATCH}") set(cint_SOVERSION "${cint_VERSION_MAJOR}") diff --git a/ChangeLog b/ChangeLog index 84cfea30..7a935abf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,5 @@ +Version 4.0.2 (2020-10-03): + * Fix typedef Function in cint_funcs.h Version 4.0.1 (2020-10-02): * Update docs Version 4.0.0 (2020-09-23): diff --git a/README b/README index 57b92fc2..d2a9fe85 100644 --- a/README +++ b/README @@ -1,8 +1,8 @@ libcint ======= -version 4.0.1 -2020-10-02 +version 4.0.2 +2020-10-03 What is libcint diff --git a/include/cint_funcs.h b/include/cint_funcs.h index be72677a..82152dd9 100644 --- a/include/cint_funcs.h +++ b/include/cint_funcs.h @@ -7,11 +7,11 @@ #include -typedef void (*CINTOptimizerFunction)(CINTOpt **opt, - FINT *atm, FINT natm, FINT *bas, FINT nbas, double *env); -typedef FINT (*CINTIntegralFunction)(double *out, FINT *dims, FINT *shls, - FINT *atm, FINT natm, FINT *bas, FINT nbas, double *env, - CINTOpt *opt, double *cache); +typedef void CINTOptimizerFunction(CINTOpt **opt, + FINT *atm, FINT natm, FINT *bas, FINT nbas, double *env); +typedef FINT CINTIntegralFunction(double *out, FINT *dims, FINT *shls, + FINT *atm, FINT natm, FINT *bas, FINT nbas, double *env, + CINTOpt *opt, double *cache); /* Plain ERI (ij|kl) */ CINTOptimizerFunction int2e_optimizer; CINTIntegralFunction int2e_cart;