Skip to content

Conversation

ds26gte
Copy link
Contributor

@ds26gte ds26gte commented Aug 9, 2025

No description provided.

- define & provide E to prevent users using E casually
end
end

E = ~2.718281828459045
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is defined in constants, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, however dcic2024.arr includes essentials2024.arr, which already sources constants.arr but deliberately only takes PI.

Ideally we should change essentials2024.arr to also take E from constants.arr, but I didn't want to disturb anything there, especially if there is user code that uses E as a regular variable (i.e., without shadow).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But in this context can't you just import constants as C and then provide from C: E end?

@jpolitz jpolitz merged commit 2cfb019 into brownplt:horizon Aug 27, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants