Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ protected override IEnumerable<KeyValuePair<string, DataViewType>> GetAnnotation
Contracts.Assert(0 <= iinfo & iinfo < InfoCount);
var items = base.GetAnnotationTypesCore(iinfo);
if (!UseCounter[iinfo])
items.Prepend(BooleanDataViewType.Instance.GetPair(AnnotationUtils.Kinds.IsNormalized));
items = items.Prepend(BooleanDataViewType.Instance.GetPair(AnnotationUtils.Kinds.IsNormalized));
return items;
}

Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.ML.TimeSeries/RootCauseAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ private void LocalizeRootCausesByDimension(PointTree anomalyTree, PointTree poin

if (best == null)
{
_preparedCauses.Append(new RootCause { Items = new List<RootCauseItem>() { new RootCauseItem(anomalyDimension) } });
_preparedCauses.Add(new RootCause { Items = new List<RootCauseItem>() { new RootCauseItem(anomalyDimension) } });
}

bool rootAsAnomaly = false;
Expand Down