Skip to content

Commit 6046494

Browse files
committed
remove tedious cube scenario
1 parent b95390a commit 6046494

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

source/linear-algebra/exercises/outcomes/AT/AT5/generator.sage

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,7 @@ class Generator(BaseGenerator):
8787

8888
elif n==2:
8989
plus = lambda v1,v2 : vector([v1[0]+v2[0], v1[1]+v2[1]])
90-
r2 = randrange(2,4)
91-
#times= lambda c,v : vector([c*v[0],c^(r2)*v[1]])
92-
times= lambda c,v : vector([c^(r2)*v[0],c*v[1]])
90+
times= lambda c,v : vector([c^2*v[0],c*v[1]])
9391
a=randrange(1,8)
9492
b=randrange(2,8)
9593
theta = lambda v: vector([v[0]+b*v[1],v[1]+a])

0 commit comments

Comments
 (0)