Update kmath-core/src/commonMain/kotlin/space/kscience/kmath/operations/Algebra.kt

Co-authored-by: Iaroslav Postovalov <38042667+CommanderTvis@users.noreply.github.com>
This commit is contained in:
Alexander Nozik 2021-05-17 10:10:54 +03:00 committed by GitHub
parent dfac6aeb5c
commit 72f4d7c7e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ public interface Algebra<T> {
* @return an operation.
*/
public fun binaryOperationFunction(operation: String): (left: T, right: T) -> T =
error("Binary operation '$operation; not defined in $this")
error("Binary operation '$operation' not defined in $this")
/**
* Dynamically invokes a binary operation with the certain name.