File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed
src/main/java/com/thealgorithms/maths Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -110,22 +110,13 @@ 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
114- throw new IllegalArgumentException (
115- "Matrix A must be square with dimensions n x n."
116- );
113+ throw new IllegalArgumentException ("Matrix A must be square with dimensions n x n." );
117114 }
118115 if (x0 .length != n ) {
119- // clang-format-lint-action wants this on one line
120- throw new IllegalArgumentException (
121- "Initial guess vector x0 must have length n."
122- );
116+ throw new IllegalArgumentException ("Initial guess vector x0 must have length n." );
123117 }
124118 if (lambdaMin >= lambdaMax || lambdaMin <= 0 ) {
125- // clang-format-lint-action wants this on one line
126- throw new IllegalArgumentException (
127- "Eigenvalues must satisfy 0 < lambdaMin < lambdaMax."
128- );
119+ throw new IllegalArgumentException ("Eigenvalues must satisfy 0 < lambdaMin < lambdaMax." );
129120 }
130121 }
131122
You can’t perform that action at this time.
0 commit comments