Apparently ubuntu and modern libqalculate are not exactly compatible

This commit is contained in:
Yessiest 2022-05-27 23:59:54 +04:00
parent 79cd4c0a7f
commit 8a1906df7a
1 changed files with 1 additions and 4 deletions

View File

@ -23,10 +23,7 @@ Output_struct qalculate(const char* input, bool exact_mode, bool interval_mode,
// Check evaluation options // Check evaluation options
user_evaluation_options.structuring = (structuring_mode ? user_evaluation_options.structuring = (structuring_mode ?
STRUCTURING_FACTORIZE : STRUCTURING_FACTORIZE :
STRUCTURING_EXPAND); STRUCTURING_SIMPLIFY);
user_evaluation_options.interval_calculation = (interval_mode ?
INTERVAL_CALCULATION_VARIANCE_FORMULA :
INTERVAL_CALCULATION_NONE);
user_evaluation_options.approximation = (exact_mode ? user_evaluation_options.approximation = (exact_mode ?
APPROXIMATION_EXACT : APPROXIMATION_EXACT :
APPROXIMATION_APPROXIMATE); APPROXIMATION_APPROXIMATE);