Skip to content

Commit

Permalink
Week 12 solutions are fragile
Browse files Browse the repository at this point in the history
  • Loading branch information
robjhyndman committed Jun 4, 2024
1 parent 4629acb commit c46cb7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions week12/ex12-sol.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ The optimal knot (to 1 decimal place) is `r best_knot` degrees Celsius.


```{r ex3check, include = FALSE}
if(abs(best_knot - 28.4) > 1e-5)
stop("Optimal knot is not 28.4")
if(abs(best_knot - 28.1) > 1e-5)
stop("Optimal knot is not 28.1")
```

```{r ex3d}
Expand Down

0 comments on commit c46cb7a

Please sign in to comment.