forked from kscience/kmath
Apply suggestions from code review
Co-authored-by: Iaroslav Postovalov <38042667+CommanderTvis@users.noreply.github.com>
This commit is contained in:
parent
8d33d6beab
commit
8581b32448
2
.gitignore
vendored
2
.gitignore
vendored
@ -18,5 +18,3 @@ out/
|
|||||||
# Generated by javac -h and runtime
|
# Generated by javac -h and runtime
|
||||||
*.class
|
*.class
|
||||||
*.log
|
*.log
|
||||||
|
|
||||||
/kmath-ejml/src/main/kotlin/space/kscience/kmath/ejml/_generated.kt
|
|
||||||
|
@ -19,4 +19,4 @@ fun main() {
|
|||||||
with(DoubleField.bufferAlgebra(5)) {
|
with(DoubleField.bufferAlgebra(5)) {
|
||||||
println(number(2.0) + produce(1, 2, 3, 4, 5))
|
println(number(2.0) + produce(1, 2, 3, 4, 5))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,4 +17,4 @@ kotlin.sourceSets {
|
|||||||
|
|
||||||
readme {
|
readme {
|
||||||
maturity = ru.mipt.npm.gradle.Maturity.EXPERIMENTAL
|
maturity = ru.mipt.npm.gradle.Maturity.EXPERIMENTAL
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@ import space.kscience.kmath.expressions.Symbol
|
|||||||
import space.kscience.kmath.misc.FeatureSet
|
import space.kscience.kmath.misc.FeatureSet
|
||||||
|
|
||||||
public abstract class OptimizationBuilder<T, R : OptimizationProblem<T>> {
|
public abstract class OptimizationBuilder<T, R : OptimizationProblem<T>> {
|
||||||
public val features: ArrayList<OptimizationFeature> = ArrayList()
|
public val features: MutableList<OptimizationFeature> = ArrayList()
|
||||||
|
|
||||||
public fun addFeature(feature: OptimizationFeature) {
|
public fun addFeature(feature: OptimizationFeature) {
|
||||||
features.add(feature)
|
features.add(feature)
|
||||||
|
Loading…
Reference in New Issue
Block a user