Skip to content

Commit

Permalink
paramcompare: remove double inequality check
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlong13 authored and meee1 committed Oct 16, 2024
1 parent fb69492 commit 347aae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controls/paramcompare.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void processToScreen()
if (param.ContainsKey(value) && param2.ContainsKey(value))
{
// check double != double
if (param[value] != param2[value])
if (param[value].ToString() != param2[value].ToString())
// this will throw is there is no matching key
{
Console.WriteLine("{0} {1} vs {2}", value, param[value], param2[value]);
Expand Down

0 comments on commit 347aae7

Please sign in to comment.