Skip to content

Commit

Permalink
more unit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sswadkar committed Mar 5, 2023
1 parent 28c8678 commit 522d51b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ publishing {
release(MavenPublication) {
groupId = 'org.team4099'
artifactId = 'falconutils'
version = '1.1.16'
version = '1.1.17'

from(components["kotlin"])
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/org/team4099/lib/units/derived/Controller.kt
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ inline val <K : UnitKey> Value<K>.perRadian
get() = Value<Fraction<K, Radian>>(value)

inline val <K : UnitKey> Value<K>.perDegree
get() = perRadian * RADIANS_PER_DEGREES
get() = perRadian / RADIANS_PER_DEGREES

inline val <K : UnitKey> Value<K>.perRotation
get() = perRadian * RADIANS_PER_ROTATION
get() = perRadian / RADIANS_PER_ROTATION

inline val <K : UnitKey> Value<K>.perMeterSeconds
get() = Value<Fraction<K, Product<Meter, Second>>>(value)
Expand Down

0 comments on commit 522d51b

Please sign in to comment.