mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-04 00:34:26 -05:00 
			
		
		
		
	Removed redundant parenthesis
This commit is contained in:
		@@ -39,15 +39,15 @@ public static class IEnumerableExtensions
 | 
			
		||||
        var n = list.Count;
 | 
			
		||||
        while (n > 1)
 | 
			
		||||
        {
 | 
			
		||||
            var box = new byte[(n / Byte.MaxValue) + 1];
 | 
			
		||||
            var box = new byte[n / Byte.MaxValue + 1];
 | 
			
		||||
            int boxSum;
 | 
			
		||||
            do
 | 
			
		||||
            {
 | 
			
		||||
                provider.GetBytes(box);
 | 
			
		||||
                boxSum = box.Sum(b => b);
 | 
			
		||||
            } while (!(boxSum < n * ((Byte.MaxValue * box.Length) / n)));
 | 
			
		||||
            } while (!(boxSum < n * (Byte.MaxValue * box.Length / n)));
 | 
			
		||||
 | 
			
		||||
            var k = (boxSum % n);
 | 
			
		||||
            var k = boxSum % n;
 | 
			
		||||
            n--;
 | 
			
		||||
            var value = list[k];
 | 
			
		||||
            list[k] = list[n];
 | 
			
		||||
 
 | 
			
		||||
@@ -115,7 +115,7 @@ public static class StringExtensions
 | 
			
		||||
            for (var j = 1; j <= m; j++)
 | 
			
		||||
            {
 | 
			
		||||
                // Step 5
 | 
			
		||||
                var cost = (t[j - 1] == s[i - 1]) ? 0 : 1;
 | 
			
		||||
                var cost = t[j - 1] == s[i - 1] ? 0 : 1;
 | 
			
		||||
 | 
			
		||||
                // Step 6
 | 
			
		||||
                d[i, j] = Math.Min(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user