Skip to content

Commit

Permalink
fixed a bug with my last commit
Browse files Browse the repository at this point in the history
removed unused parameter
  • Loading branch information
Shaz Qadeer committed Jan 10, 2017
1 parent f8b9eb7 commit 35249ee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Src/Core/API/Results/ApplyResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public Task<AST<Program>> GetOutputModel(
var aliases = new Map<Term, string>(Term.Compare);
foreach (var t in facts)
{
BuildFactBody(facts, t, bldr, modelRef, aliasPrefix, aliases, removeRenaming);
BuildFactBody(t, bldr, modelRef, aliasPrefix, aliases, removeRenaming);
}
int count;
Expand Down Expand Up @@ -414,7 +414,6 @@ internal void Start()
}

private void BuildFactBody(
Set<Term> facts,
Term t,
Builder bldr,
BuilderRef modelRef,
Expand Down Expand Up @@ -511,7 +510,7 @@ private void BuildFactBody(
return default(Unit);
});

if (aliasPrefix == null)
if (tAliasPrefix == null)
{
bldr.PushAnonModelFact();
bldr.Load(modelRef);
Expand Down

0 comments on commit 35249ee

Please sign in to comment.