mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-14 10:36:50 -07:00
Enables analysis on functions with variables (#1021)
* Add Graph Options to enable analysis with variables * Remove debugging call to GetAllowKeyGraphFeaturesForFunctionsWithParameters() * Updated the variable analysis logic to use the UpdateGraphOptions method
This commit is contained in:
parent
ff5efcdd78
commit
f4ab94ce1c
1 changed files with 4 additions and 0 deletions
|
@ -199,6 +199,10 @@ namespace GraphControl
|
|||
{
|
||||
if (auto analyzer = graph->GetAnalyzer())
|
||||
{
|
||||
vector<Equation ^> equationVector;
|
||||
equationVector.push_back(equation);
|
||||
UpdateGraphOptions(graph->GetOptions(), equationVector);
|
||||
|
||||
if (analyzer->CanFunctionAnalysisBePerformed())
|
||||
{
|
||||
if (S_OK
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue