Apply suggestions from code review

Co-authored-by: Iaroslav Postovalov <38042667+CommanderTvis@users.noreply.github.com>
This commit is contained in:
Alexander Nozik 2021-08-27 18:13:54 +03:00 committed by GitHub
parent 8d33d6beab
commit 8581b32448
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 5 deletions

2
.gitignore vendored
View File

@ -18,5 +18,3 @@ out/
# Generated by javac -h and runtime
*.class
*.log
/kmath-ejml/src/main/kotlin/space/kscience/kmath/ejml/_generated.kt

View File

@ -11,7 +11,7 @@ import space.kscience.kmath.expressions.Symbol
import space.kscience.kmath.misc.FeatureSet
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) {
features.add(feature)