This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git

commit ebdf2fe25522f215868c3eac78e54c241a5fce92
Author: Alex Herbert <aherb...@apache.org>
AuthorDate: Thu Aug 8 17:28:14 2024 +0100

    Correct Stirling number user guide example
---
 src/site/apt/userguide/index.apt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/site/apt/userguide/index.apt b/src/site/apt/userguide/index.apt
index 885cf27f..f960c766 100644
--- a/src/site/apt/userguide/index.apt
+++ b/src/site/apt/userguide/index.apt
@@ -305,9 +305,9 @@ list.forEach(c -> System.out.println(Arrays.toString(c)));
   For example a set of 3 elements may be partitioned into:
 
 +------------------------------------------+
-Stirling.stirlingS2(3, 1)    //  1 : {{1}, {2}, {3}}
+Stirling.stirlingS2(3, 3)    //  1 : {{1}, {2}, {3}}
 Stirling.stirlingS2(3, 2)    //  3 : {{1, 2}, {3}}, {{1, 3}, {2}} and {{1}, 
{2, 3}}
-Stirling.stirlingS2(3, 3)    //  1 : {{1, 2, 3}}
+Stirling.stirlingS2(3, 1)    //  1 : {{1, 2, 3}}
 +------------------------------------------+
 
   The evaluation is limited by the <<<long>>> datatype and the method will 
raise an

Reply via email to