Skip to content

Commit 7f21bf2

Browse files
committed
base changed to baseLength for better understanding
1 parent f4941f4 commit 7f21bf2

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/thealgorithms/maths

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/maths/Area.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public static double surfaceAreaParallelogram(final double baseLength, final dou
145145
if (height <= 0) {
146146
throw new IllegalArgumentException(POSITIVE_HEIGHT);
147147
}
148-
return base * height;
148+
return baseLength * height;
149149
}
150150

151151
/**

0 commit comments

Comments
 (0)