mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-27 14:34:05 +08:00
style: enable MultipleVariableDeclarations
in checkstyle (#5175)
Co-authored-by: vaibhav <vaibhav.waghmare@techprescient.com>
This commit is contained in:
@ -21,7 +21,10 @@ public final class GuassLegendre {
|
||||
* l: No of loops to run
|
||||
*/
|
||||
|
||||
double a = 1, b = Math.pow(2, -0.5), t = 0.25, p = 1;
|
||||
double a = 1;
|
||||
double b = Math.pow(2, -0.5);
|
||||
double t = 0.25;
|
||||
double p = 1;
|
||||
for (int i = 0; i < l; ++i) {
|
||||
double[] temp = update(a, b, t, p);
|
||||
a = temp[0];
|
||||
|
Reference in New Issue
Block a user