At the moment variable names used in the FunctionValuesDialog can be same than predefined function or constant names. This results in unexpected results in the column. To prevent this, it will be checked if the variable name is equal to the predefined names and the generation is blocked if they are equal. So the user has to change the variable name.
Details
Details
Diff Detail
Diff Detail
- Repository
- R262 LabPlot
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
src/kdefrontend/spreadsheet/FunctionValuesDialog.cpp | ||
---|---|---|
163 | why not to search with constants().indexOf(name) and comparing the found index with -1? |