Skip to content

Commit f9b3efb

Browse files
authored
[wpiunits] Refactor MomentOfInertiaUnit constructor to use MomentOfInertiaUnit instead of a Per<> (#7546)
1 parent 782459d commit f9b3efb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wpiunits/src/main/java/edu/wpi/first/units/MomentOfInertiaUnit.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public final class MomentOfInertiaUnit extends PerUnit<AngularMomentumUnit, Angu
2828
}
2929

3030
MomentOfInertiaUnit(
31-
PerUnit<AngularMomentumUnit, AngularVelocityUnit> baseUnit,
31+
MomentOfInertiaUnit baseUnit,
3232
UnaryFunction toBaseConverter,
3333
UnaryFunction fromBaseConverter,
3434
String name,

0 commit comments

Comments
 (0)