From 46f99139e2850a4bfd63e3823b48b9e026fec017 Mon Sep 17 00:00:00 2001 From: Iaroslav Date: Thu, 25 Jun 2020 19:45:33 +0700 Subject: [PATCH] Update number literal call in tests --- .../src/jvmTest/kotlin/scietifik/kmath/asm/TestAsmAlgebras.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kmath-ast/src/jvmTest/kotlin/scietifik/kmath/asm/TestAsmAlgebras.kt b/kmath-ast/src/jvmTest/kotlin/scietifik/kmath/asm/TestAsmAlgebras.kt index 4c2be811e..6ce769613 100644 --- a/kmath-ast/src/jvmTest/kotlin/scietifik/kmath/asm/TestAsmAlgebras.kt +++ b/kmath-ast/src/jvmTest/kotlin/scietifik/kmath/asm/TestAsmAlgebras.kt @@ -92,7 +92,7 @@ class TestAsmAlgebras { "+", (3.0 - (symbol("x") + (multiply(add(number(1.0), number(1.0)), 2) + 1.0))) * 3 - 1.0 + number(1), - 1 / 2 + number(2.0) * one + number(1) / 2 + number(2.0) * one ) }("x" to 2.0) @@ -101,7 +101,7 @@ class TestAsmAlgebras { "+", (3.0 - (symbol("x") + (multiply(add(number(1.0), number(1.0)), 2) + 1.0))) * 3 - 1.0 + number(1), - 1 / 2 + number(2.0) * one + number(1) / 2 + number(2.0) * one ) }.compile()("x" to 2.0)