Fix for #193
This commit is contained in:
parent
7acea94e90
commit
d00e7434a4
@ -25,6 +25,7 @@ public class MatrixWrapper<T : Any>(
|
|||||||
*/
|
*/
|
||||||
@UnstableKMathAPI
|
@UnstableKMathAPI
|
||||||
override fun <T : Any> getFeature(type: KClass<T>): T? = type.safeCast(features.find { type.isInstance(it) })
|
override fun <T : Any> getFeature(type: KClass<T>): T? = type.safeCast(features.find { type.isInstance(it) })
|
||||||
|
?: matrix.getFeature(type)
|
||||||
|
|
||||||
override fun equals(other: Any?): Boolean = matrix == other
|
override fun equals(other: Any?): Boolean = matrix == other
|
||||||
override fun hashCode(): Int = matrix.hashCode()
|
override fun hashCode(): Int = matrix.hashCode()
|
||||||
|
Loading…
Reference in New Issue
Block a user