Skip to content

Typo in documentation for` adaptive.learner.learner2D.uniform_loss(ip)`

In the example for adaptive.learner.learner2D.uniform_loss(ip) the loss_per_triangle variable is set to uniform_sampling_2d, a variable that is undefined in the example snippet. I would expect this to be set to learner2D.uniform_loss combined with the appropriate import statement as is done in the example above it.

https://adaptive.readthedocs.io/en/latest/reference/adaptive.learner.learner2D.html#adaptive.Learner2D