Skip to content

Commit

Permalink
line length finding
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaron committed Dec 19, 2023
1 parent 204b7d2 commit ae8fd41
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions roboquant-ml/src/main/kotlin/org/roboquant/ml/DivFeature.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ import org.roboquant.feeds.Event
/**
* Create a new feature based on the division of two other features.
*/
class DivFeature(private val numerator: SingleValueFeature, private val denominator: SingleValueFeature) : SingleValueFeature() {
class DivFeature(private val numerator: SingleValueFeature, private val denominator: SingleValueFeature) :
SingleValueFeature() {

/**
* @see Feature.calculate
Expand Down Expand Up @@ -53,4 +54,4 @@ class DivFeature(private val numerator: SingleValueFeature, private val denomina
* ```
* @see DivFeature
*/
operator fun SingleValueFeature.div(denominator: SingleValueFeature) : Feature = DivFeature(this, denominator)
operator fun SingleValueFeature.div(denominator: SingleValueFeature): Feature = DivFeature(this, denominator)

0 comments on commit ae8fd41

Please sign in to comment.