Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hartree is not recognized as a unit #680

Open
AllanChain opened this issue Jan 17, 2025 · 3 comments
Open

hartree is not recognized as a unit #680

AllanChain opened this issue Jan 17, 2025 · 3 comments

Comments

@AllanChain
Copy link

Hartree is listed in the documentation: https://numbat.dev/doc/list-units.html. However, it is impossible to use it in numbat:

>>> 1 hartree
error: while type checking
  ┌─ <input:13>:1:3
  │
1 │ 1 hartree
  │   ^^^^^^^ unknown identifier
  │
  = Did you mean 'three'?

I'm using Numbat 1.15.0.

@sharkdp
Copy link
Owner

sharkdp commented Jan 17, 2025

I think you need to use units::hartree. We should document that better and potentially change it.

@AllanChain
Copy link
Author

It works. Thanks for the quick response! Should I leave this issue open as a reminder to update the documentation, or would you prefer I close it?

@sharkdp
Copy link
Owner

sharkdp commented Jan 17, 2025

Let's leave it open

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants