You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.
Tutorial 4 currently says that if statements are not allowed in constraint definitions. While it is true that JS if statements are not allowed, it seems that
Autodiff.ts
does have anifCond
function that can be used to construct a constraint with a conditional: https://github.com/penrose/penrose/blob/dbf710646bcaad9f0e3142388ae4759ca6b3a740/packages/core/src/engine/Autodiff.ts#L798The text was updated successfully, but these errors were encountered: