From 71f1a188a86a1ca7a42315d9484e8dc5d8088b67 Mon Sep 17 00:00:00 2001 From: Qiming Sun Date: Sun, 4 Oct 2020 17:22:10 -0700 Subject: [PATCH] Release v4.0.2 Fix typedef bugs in cint_funcs.h --- CMakeLists.txt | 2 +- ChangeLog | 2 ++ README.md | 4 ++-- include/cint_funcs.h | 10 +++++----- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0067d21..45daa81 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required (VERSION 2.6) project (qcint C) set(qcint_VERSION_MAJOR "4") set(qcint_VERSION_MINOR "0") -set(qcint_VERSION_PATCH "1") +set(qcint_VERSION_PATCH "2") set(qcint_VERSION_TWEAK "0") set(qcint_VERSION "${qcint_VERSION_MAJOR}.${qcint_VERSION_MINOR}.${qcint_VERSION_PATCH}") set(qcint_SOVERSION "${qcint_VERSION_MAJOR}") diff --git a/ChangeLog b/ChangeLog index d5b1ff2..9239d72 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): * Fix syntax bugs in AVX and SSE3 mode Version 4.0.0 (2020-09-23): diff --git a/README.md b/README.md index bbd0122..58558ce 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,9 @@ qcint (quick libcint) An optimized libcint branch for X86 platform -version 4.0.1 +version 4.0.2 -2020-10-02 +2020-10-03 What is qcint diff --git a/include/cint_funcs.h b/include/cint_funcs.h index 23a056e..2cac482 100644 --- a/include/cint_funcs.h +++ b/include/cint_funcs.h @@ -7,11 +7,11 @@ #include -typedef void (*CINTOptimizerFunction)(CINTOpt **opt, - int *atm, int natm, int *bas, int nbas, double *env); -typedef int (*CINTIntegralFunction)(double *out, int *dims, int *shls, - int *atm, int natm, int *bas, int nbas, double *env, - CINTOpt *opt, double *cache); +typedef void CINTOptimizerFunction(CINTOpt **opt, + int *atm, int natm, int *bas, int nbas, double *env); +typedef int CINTIntegralFunction(double *out, int *dims, int *shls, + int *atm, int natm, int *bas, int nbas, double *env, + CINTOpt *opt, double *cache); /* Plain ERI (ij|kl) */ CINTOptimizerFunction int2e_optimizer; CINTIntegralFunction int2e_cart;