Skip to content

Commit c98e217

Browse files
authored
Merge pull request ThoughtWorksInc#35 from Atry/upgrade-feature-scala
Upgrade feature.scala
2 parents a3221a4 + 22adc01 commit c98e217

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

Expressions/build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
libraryDependencies += "com.thoughtworks.feature" %% "partialapply" % "2.3.0-M5"
1+
libraryDependencies += "com.thoughtworks.feature" %% "partialapply" % "2.3.0-M6"
22

3-
libraryDependencies += "com.thoughtworks.feature" %% "implicitapply" % "2.3.0-M5"
3+
libraryDependencies += "com.thoughtworks.feature" %% "implicitapply" % "2.3.0-M6"
44

5-
libraryDependencies += "com.thoughtworks.feature" %% "factory" % "2.3.0-M5"
5+
libraryDependencies += "com.thoughtworks.feature" %% "factory" % "2.3.0-M6"
66

77
libraryDependencies += "com.chuusai" %% "shapeless" % "2.3.3"
88

Expressions/src/main/scala/com/thoughtworks/expressions/opencl/Context.scala

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package com.thoughtworks.expressions.opencl
33
import com.dongxiguo.fastring.Fastring.Implicits._
44
import com.thoughtworks.expressions.api.{Arrays, FloatArrays, Floats, Terms}
55
import com.thoughtworks.expressions.opencl.Context.ClTypeDefinition.{ArrayDefinition, FloatDefinition}
6-
import com.thoughtworks.feature.Factory.{Factory1, Factory2, Factory3, Lt, inject}
6+
import com.thoughtworks.feature.Factory.{Factory1, Factory2, Factory3, Factory4, Factory5, Factory6, inject}
77
import org.apache.commons.math3.linear.{MatrixUtils, RealMatrix}
88

99
import scala.collection.mutable
@@ -314,14 +314,6 @@ trait Context extends FloatArrays {
314314
}
315315
}
316316

317-
// FIXME: Upgrade feature.scala
318-
type Factory4[-Parameter0, -Parameter1, -Parameter2, -Parameter3, Output] =
319-
Lt[Output, (Parameter0, Parameter1, Parameter2, Parameter3) => Output]
320-
type Factory5[-Parameter0, -Parameter1, -Parameter2, -Parameter3, -Parameter4, Output] =
321-
Lt[Output, (Parameter0, Parameter1, Parameter2, Parameter3, Parameter4) => Output]
322-
type Factory6[-Parameter0, -Parameter1, -Parameter2, -Parameter3, -Parameter4, -Parameter5, Output] =
323-
Lt[Output, (Parameter0, Parameter1, Parameter2, Parameter3, Parameter4, Parameter5) => Output]
324-
325317
@inject
326318
def arrayParameterFactory[LocalElement <: ValueTerm]
327319
: Factory5[LocalElement#ThisType,

0 commit comments

Comments
 (0)