diff --git a/lib/jkqtmath/jkqtpmathparser.cpp b/lib/jkqtmath/jkqtpmathparser.cpp index b2baa40378..4bc03f185e 100644 --- a/lib/jkqtmath/jkqtpmathparser.cpp +++ b/lib/jkqtmath/jkqtpmathparser.cpp @@ -1785,7 +1785,8 @@ JKQTPMathParser::jkmpFunctionNode::jkmpFunctionNode(const std::string& name, JKQ } JKQTPMathParser::jkmpResult JKQTPMathParser::jkmpFunctionNode::evaluate() { - std::array data; + std::vector data; + data.resize(257); if (n>0) { for (int i=0; ievaluate(); diff --git a/lib/jkqtplotter/graphs/jkqtpboxplotbase.cpp b/lib/jkqtplotter/graphs/jkqtpboxplotbase.cpp index 445e8f425d..49efe5a69e 100644 --- a/lib/jkqtplotter/graphs/jkqtpboxplotbase.cpp +++ b/lib/jkqtplotter/graphs/jkqtpboxplotbase.cpp @@ -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;