Skip to content

Commit 8c8e42c

Browse files
committed
Actually apply changes to limits and test_at.
The changes to limits and test_at were never applied, so the problems sometimes fails to generate enough points (e.g. seed = 4857)
1 parent aa5d6d0 commit 8c8e42c

File tree

1 file changed

+1
-1
lines changed
  • OpenProblemLibrary/AlfredUniv/anton8e/chapter1/1.5

1 file changed

+1
-1
lines changed

OpenProblemLibrary/AlfredUniv/anton8e/chapter1/1.5/prob9.pg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ TEXT(beginproblem());
4444

4545
$ans1 = Formula("1/sqrt(x**2 + 1)")->reduce;
4646
$ans2 = Formula("sqrt(1-1/x**2)")->reduce;
47-
$ans2->with(limits=>[1.1, 10], test_at=>[[-2],[-3]]);
47+
$ans2 = $ans2->with(limits=>[1.1, 10], test_at=>[[-2],[-3]]);
4848

4949
Context()->texStrings;
5050
BEGIN_TEXT

0 commit comments

Comments
 (0)