phillipstanleymarbell / Noisy-lang-compiler

Noisy language compiler
MIT License
17 stars 1 forks source link

Several Newton examples mix using dimension names with using dimension symbols #350

Open phillipstanleymarbell opened 6 years ago

phillipstanleymarbell commented 6 years ago

Several Newton examples mix using dimension names with using dimension symbols

phillipstanleymarbell commented 6 years ago

E.g., ActivityClassifier.nt uses radian which is the English name description. It should use the symbol rad instead:

    ((x * SamplingTime) ** 2 + (y * SamplingTime) ** 2 + (z * SamplingTime) ** 2) / (row ** 2 + pitch ** 2 + yaw ** 2) < (2 * m / radian) ** 2,
    (row ** 2 + pitch ** 2 + yaw ** 2) / ((x * SamplingTime) ** 2 + (y * SamplingTime) ** 2 + (z * SamplingTime) ** 2) > (0.1 * radian / m) ** 2