Compare commits

...

2 Commits

Author SHA1 Message Date
Yessiest 4c796978eb Fix lua version 2022-11-15 00:59:15 +04:00
Yessiest 8a1906df7a Apparently ubuntu and modern libqalculate are not exactly compatible 2022-05-27 23:59:54 +04:00
2 changed files with 2 additions and 5 deletions

View File

@ -1,4 +1,4 @@
LUA_VERSION=5.2
LUA_VERSION=5.1
INCLUDES=-I/usr/include/lua${LUA_VERSION}
CXX=g++
CFLAGS=-fPIC

View File

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