-
Notifications
You must be signed in to change notification settings - Fork 89
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
compute_forces_cart not found? #371
Comments
Yes that's a recent addition, you need to update to the newest version (or we need to tag a new version). Try |
Ah yes this is because the documentation points to the master version. Hm. The proper solution could be to have two links, to dev and stable version, but given we do release new versions relatively frequently, we might as well systematically tag new versions when we make doc changes? Or tell the users to always install master versions, since we are relatively careful not to break master... |
Ok, thanks, will do. Yes, maybe the documentation should be a bit clearer. Also, when I try, I get |
Really? I just tried
Where does your error come from? |
Yes that's a good idea and not too hard to achieve.
I veto that and you know it 😄 |
Can't blame me for trying ;-) |
The error was me trying to use |
Ah yes, that's indeed a typo. The correct command is
|
You have to use |
If there's a |
By the way ... docs and badge will be fixed in #372. Should go into master today. |
Sorry, yes, I realised my mistake afterwards, hence why I deleted my post. Didn't notice the difference between |
Ah I was confused because the post appeared, disappeared and re-appeared. No worries, it takes a while to get these julia idiosyncrasies, especially if you don't have a julia afficionado on hand. |
Actually it is very confusing and subject to debate amongst the Julia community. You're not the first to fall into that trap @stur86 😄. |
Yeah I agree it's a bit annoying. Back when I started julia there was even |
I've just installed DFTK using
Pkg.add("DFTK")
on Julia 1.4.1. The version used isv0.1.17
. When I try using the commandcompute_forces_cart
after importing DFTK and using it to solve the first tutorial the symbol can not be found. DFTK has methodscompute_bands compute_current compute_density compute_kernel compute_partial_density! compute_χ0
but not for forces. Is this a bug, or do I simply need to update to the master version?The text was updated successfully, but these errors were encountered: