Commit f9d898c2 authored by Anastasiia's avatar Anastasiia

extend range

parent 89453b91
......@@ -7,7 +7,7 @@ import Real._
object Summation {
def summ(u: Real, v: Real): Real = { //
require(-2.0 <= u && u <= 10 && 0 <= v && v <= 10)//
require(-2.0 <= u && u <= 10 && -1 <= v && v <= 10)//
u + v
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment