From 5444852615526aac8306b4d96e88f5da05a571a2 Mon Sep 17 00:00:00 2001 From: fasiondog Date: Sun, 31 Dec 2023 01:54:39 +0800 Subject: [PATCH] update --- hikyuu_cpp/hikyuu/analysis/analysis_sys.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hikyuu_cpp/hikyuu/analysis/analysis_sys.h b/hikyuu_cpp/hikyuu/analysis/analysis_sys.h index f540cf97..1b46f9d4 100644 --- a/hikyuu_cpp/hikyuu/analysis/analysis_sys.h +++ b/hikyuu_cpp/hikyuu/analysis/analysis_sys.h @@ -40,11 +40,11 @@ vector HKU_API analysisSystemList(const SystemList& const KQuery& query); template -inline vector analysisSystemListWithBlock(const Container& blk, - const KQuery& query, - const SystemPtr sys_proto) { +inline vector analysisSystemListWith(const Container& blk, + const KQuery& query, + const SystemPtr sys_proto) { vector result; - HKU_IF_RETURN(blk.empty() || !sys_proto, result); + HKU_IF_RETURN(blk.size() == 0 || !sys_proto, result); SystemList sys_list; StockList stk_list;