Skip to content

Commit

Permalink
Grid // Fix OverrideNodeScoreForSelectedCandidate(). (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShikiSuen authored Jun 29, 2022
1 parent bf3dec3 commit 5043068
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Megrez.Tests/Megrez.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
<ReleaseVersion>1.2.7</ReleaseVersion>
<ReleaseVersion>1.2.8</ReleaseVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Megrez.sln
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ Global
$0.DotNetNamingPolicy = $4
$4.DirectoryNamespaceAssociation = PrefixedHierarchical
$0.StandardHeader = $5
version = 1.2.7
version = 1.2.8
EndGlobalSection
EndGlobal
2 changes: 1 addition & 1 deletion Megrez/2_Grid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public NodeAnchor FixNodeSelectedCandidate(int location, string value) {
/// <param name="location">位置。</param>
/// <param name="value">給定字串。</param>
/// <param name="overridingScore">給定權重數值。</param>
public void FixNodeSelectedCandidate(int location, string value, double overridingScore) {
public void OverrideNodeScoreForSelectedCandidate(int location, string value, double overridingScore) {
int theLocation = Math.Abs(location);
foreach (NodeAnchor nodeAnchor in NodesCrossingOrEndingAt(theLocation)) {
Node? theNode = nodeAnchor.Node;
Expand Down
8 changes: 4 additions & 4 deletions Megrez/Megrez.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<ReleaseVersion>1.2.7</ReleaseVersion>
<ReleaseVersion>1.2.8</ReleaseVersion>
<PackageId>vChewing.Megrez</PackageId>
<Authors>Shiki Suen</Authors>
<Company>Atelier Inmu</Company>
<Copyright>(c) 2022 and onwards The vChewing Project (MIT-NTL License).</Copyright>
<RepositoryUrl>https://github.com/ShikiSuen/MegrezNT</RepositoryUrl>
<NeutralLanguage>zh-TW</NeutralLanguage>
<AssemblyVersion>1.2.7</AssemblyVersion>
<FileVersion>1.2.7</FileVersion>
<Version>1.2.7</Version>
<AssemblyVersion>1.2.8</AssemblyVersion>
<FileVersion>1.2.8</FileVersion>
<Version>1.2.8</Version>
<Product>Megrez</Product>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageReadmeFile>README.md</PackageReadmeFile>
Expand Down

0 comments on commit 5043068

Please sign in to comment.