We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 974cc6b commit 921057fCopy full SHA for 921057f
src/main/java/com/thealgorithms/maths/BellNumbers.java
@@ -56,4 +56,4 @@ public static long compute(int n) {
56
// The Bell number B_n is the first number in the n-th row
57
return bellTriangle[n][0];
58
}
59
-}
+}
src/test/java/com/thealgorithms/maths/BellNumbersTest.java
@@ -50,4 +50,4 @@ void testOverflowProtection() {
50
// We expect an exception if the user asks for the impossible
51
assertThrows(IllegalArgumentException.class, () -> BellNumbers.compute(26));
52
53
0 commit comments