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
@ -199,6 +199,10 @@ namespace GraphControl
|
|||||||
{
|
{
|
||||||
if (auto analyzer = graph->GetAnalyzer())
|
if (auto analyzer = graph->GetAnalyzer())
|
||||||
{
|
{
|
||||||
|
vector<Equation ^> equationVector;
|
||||||
|
equationVector.push_back(equation);
|
||||||
|
UpdateGraphOptions(graph->GetOptions(), equationVector);
|
||||||
|
|
||||||
if (analyzer->CanFunctionAnalysisBePerformed())
|
if (analyzer->CanFunctionAnalysisBePerformed())
|
||||||
{
|
{
|
||||||
if (S_OK
|
if (S_OK
|
||||||
|
Loading…
Reference in New Issue
Block a user