Skip to content

Commit

Permalink
Log size warning on release. Bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
homothetyhk committed Jan 21, 2023
1 parent 4e09f73 commit b4e9804
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion RandomizerCore/Logic/LogicManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ private DNFLogicDef CreateDNFLogicDef(string name, string infix, List<LogicToken
List<List<TermToken>> res = _DNFConverter.Result;
if (res.Count > 200)
{
LogDebug($"Warning - DNF for {name} expanded to {res.Count} clauses.");
Log($"Warning - DNF for {name} expanded to {res.Count} clauses.");
}
DNFLogicDef result = new(CreateClauses, this, name, Infix.ToInfix(tokens));
Profiling.EmitMetric("LogicManager.CreateDNFLogicDef.ResultingTermCount", result.GetTerms().Count());
Expand Down
4 changes: 2 additions & 2 deletions RandomizerCore/RandomizerCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<PropertyGroup>
<ProjectGuid>ae78b8e8-a733-44a2-be63-d264c82118b7</ProjectGuid>
<AssemblyTitle>RandomizerCore</AssemblyTitle>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<FileVersion>1.1.0.0</FileVersion>
<AssemblyVersion>1.1.1.0</AssemblyVersion>
<FileVersion>1.1.1.0</FileVersion>
<TargetFramework>net472</TargetFramework>
<Deterministic>true</Deterministic>
<LangVersion>latest</LangVersion>
Expand Down

0 comments on commit b4e9804

Please sign in to comment.