Turn Polynomial data class back.

This commit is contained in:
Gleb Minaev 2022-07-16 20:55:10 +03:00
parent 58d7015782
commit 99c7174802

View File

@ -10,7 +10,6 @@ package space.kscience.kmath.functions
import space.kscience.kmath.operations.Ring
import space.kscience.kmath.operations.ScaleOperations
import space.kscience.kmath.operations.invoke
import kotlin.jvm.JvmInline
import kotlin.math.max
import kotlin.math.min
@ -20,8 +19,7 @@ import kotlin.math.min
*
* @param C the type of constants.
*/
@JvmInline
public value class Polynomial<C>(
public data class Polynomial<out C>(
/**
* List that contains coefficients of the polynomial.
*