Skip to content

Commit 17d35f1

Browse files
Moved xml comment to separate line per copilot pr requirement.
1 parent c2b0cbb commit 17d35f1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/F23.StringSimilarity/SorensenDice.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
// ReSharper disable LoopCanBeConvertedToQuery
3030

3131
namespace F23.StringSimilarity
32-
{ /// <summary>
32+
{
33+
/// <summary>
3334
/// Similar to Jaccard index, but this time the similarity is computed as 2 * |V1
3435
/// inter V2| / (|V1| + |V2|). Distance is computed as 1 - cosine similarity.
3536
/// </summary>
@@ -89,7 +90,7 @@ public double Similarity(string s1, string s2)
8990
var union = new HashSet<string>();
9091
union.UnionWith(profile1.Keys);
9192
union.UnionWith(profile2.Keys);
92-
93+
9394
int inter = 0;
9495

9596
foreach (var key in union)

0 commit comments

Comments
 (0)