From ce5c281427330793b61b52ec6bed9ff4f5d78d0c Mon Sep 17 00:00:00 2001 From: Alexander Nozik Date: Fri, 24 Aug 2018 20:55:44 +0300 Subject: [PATCH] Fixed version syntax --- build.gradle | 2 +- .../scientifik/kmath/operations/OptionalOperations.kt | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index a57ba6cc8..dbe2ef5de 100644 --- a/build.gradle +++ b/build.gradle @@ -14,5 +14,5 @@ subprojects{ } group = 'scientifik' -version = '0.1 - SNAPSHOT' +version = '0.0.1-SNAPSHOT' diff --git a/kmath-common/src/main/kotlin/scientifik/kmath/operations/OptionalOperations.kt b/kmath-common/src/main/kotlin/scientifik/kmath/operations/OptionalOperations.kt index 18ef89407..7628cb4fc 100644 --- a/kmath-common/src/main/kotlin/scientifik/kmath/operations/OptionalOperations.kt +++ b/kmath-common/src/main/kotlin/scientifik/kmath/operations/OptionalOperations.kt @@ -10,7 +10,7 @@ package scientifik.kmath.operations * It also allows to override behavior for optional operations * */ -interface TrigonometricOperations: Field { +interface TrigonometricOperations : Field { fun sin(arg: T): T fun cos(arg: T): T @@ -39,10 +39,10 @@ fun >> sqr(arg: T): T = arg pow 2.0 /* Exponential */ -interface ExponentialOperations{ +interface ExponentialOperations { fun exp(arg: T): T fun ln(arg: T): T } -fun >> exp(arg:T): T = arg.context.exp(arg) -fun >> ln(arg:T): T = arg.context.ln(arg) \ No newline at end of file +fun >> exp(arg: T): T = arg.context.exp(arg) +fun >> ln(arg: T): T = arg.context.ln(arg) \ No newline at end of file