diff options
| author | zhengchao <[email protected]> | 2021-10-24 17:23:08 +0300 |
|---|---|---|
| committer | zhengchao <[email protected]> | 2021-10-24 17:23:08 +0300 |
| commit | 65712be21c20e9b802bc245cfa008e13d0bb7d9c (patch) | |
| tree | a44e20c0bc42acfc72659cb539f38876b4e9d9f9 | |
| parent | ab22b32a25b348fd94083d672d49a3b14b360f63 (diff) | |
未正确统计0号线程的outer_mid和inner_mid计数v3.5.2
| -rw-r--r-- | src/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | src/entry/Maat_api.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fcdfd2c..745fa1b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,8 +1,8 @@ cmake_minimum_required(VERSION 3.5) set(MAAT_FRAME_MAJOR_VERSION 3) -set(MAAT_FRAME_MINOR_VERSION 4) -set(MAAT_FRAME_PATCH_VERSION 1) +set(MAAT_FRAME_MINOR_VERSION 5) +set(MAAT_FRAME_PATCH_VERSION 2) set(MAAT_FRAME_VERSION ${MAAT_FRAME_MAJOR_VERSION}.${MAAT_FRAME_MINOR_VERSION}.${MAAT_FRAME_PATCH_VERSION}) message(STATUS "Maat Frame, Version: ${MAAT_FRAME_VERSION}") diff --git a/src/entry/Maat_api.cpp b/src/entry/Maat_api.cpp index 34cfb95..345f298 100644 --- a/src/entry/Maat_api.cpp +++ b/src/entry/Maat_api.cpp @@ -438,7 +438,7 @@ struct _OUTER_scan_status_t* grab_mid(scan_status_t* raw_mid, _Maat_feather_t* f alignment_int64_array_add(feather->outer_mid_cnt, thread_num, 1); } } - if(_mid->thread_num<0 && thread_num>0) + if(_mid->thread_num<0 && thread_num>=0) { _mid->thread_num=thread_num; alignment_int64_array_add(feather->outer_mid_cnt, thread_num, 1); |
