mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-15 10:05:47 +08:00
FIXed some code analysis issues
This commit is contained in:
parent
f096aa9602
commit
408f38dac1
@ -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();
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user