FIXed some code analysis issues

This commit is contained in:
jkriege2 2024-01-10 11:43:38 +01:00
parent f096aa9602
commit 408f38dac1
2 changed files with 3 additions and 1 deletions

View File

@ -1785,7 +1785,8 @@ JKQTPMathParser::jkmpFunctionNode::jkmpFunctionNode(const std::string& name, JKQ
}
JKQTPMathParser::jkmpResult JKQTPMathParser::jkmpFunctionNode::evaluate() {
std::array<JKQTPMathParser::jkmpResult,257> data;
std::vector<JKQTPMathParser::jkmpResult> data;
data.resize(257);
if (n>0) {
for (int i=0; i<n; i++) {
data[i]=child[i]->evaluate();

View File

@ -274,6 +274,7 @@ JKQTPBoxplotElementBase::JKQTPBoxplotElementBase(JKQTBasePlotter* parent):
min=JKQTP_NAN;
max=JKQTP_NAN;
drawMean=false;
drawMedian=true;
drawMinMax=false;
percentile25=JKQTP_NAN;
percentile75=JKQTP_NAN;