File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/main/java/com/thealgorithms/maths Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -110,16 +110,19 @@ private static void validateInputs(
110110 throw new IllegalArgumentException ("Vectors cannot be empty." );
111111 }
112112 if (A .length != n || A [0 ].length != n ) {
113+ // clang-format-lint-action wants this on one line
113114 throw new IllegalArgumentException (
114115 "Matrix A must be square with dimensions n x n."
115116 );
116117 }
117118 if (x0 .length != n ) {
119+ // clang-format-lint-action wants this on one line
118120 throw new IllegalArgumentException (
119121 "Initial guess vector x0 must have length n."
120122 );
121123 }
122124 if (lambdaMin >= lambdaMax || lambdaMin <= 0 ) {
125+ // clang-format-lint-action wants this on one line
123126 throw new IllegalArgumentException (
124127 "Eigenvalues must satisfy 0 < lambdaMin < lambdaMax."
125128 );
You can’t perform that action at this time.
0 commit comments