Skip to content

Commit

Permalink
Regression on graph containing freeze node (#10106)
Browse files Browse the repository at this point in the history
  • Loading branch information
QilongTang authored Nov 4, 2019
1 parent 8782b3f commit 8fb3b68
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/DynamoCoreTests/SerializationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,12 @@ public WorkspaceComparisonData(WorkspaceModel workspace, EngineController contro
OutputsMap.Add(n.GUID, n.OutputData);
}

var portvalues = n.OutPorts.Select(p =>
ProtoCore.Utils.CoreUtils.GetDataOfValue(n.GetValue(p.Index, controller))).ToList();
var portvalues = new List<object>();
if (!n.IsFrozen)
{
portvalues = n.OutPorts.Select(p =>
ProtoCore.Utils.CoreUtils.GetDataOfValue(n.GetValue(p.Index, controller))).ToList();
}

n.InPorts.ToList().ForEach(p =>
{
Expand Down

0 comments on commit 8fb3b68

Please sign in to comment.