-
Notifications
You must be signed in to change notification settings - Fork 161
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
Fix format conflict with std::format
#419
Conversation
With these changes I can successfully compile ITensor using gcc-13. |
@emstoudenmire any opinion on how to deal with the namespace clash of |
@Wentzell glad that helped, I guess at least you and others can use this branch with the newer compilers while we decide on a more permanent solution. |
Thanks Matt, I think this is a good fix to just to not introduce |
I guess with the new website we've lost our "News" section where we used to announce new versions and breaking changes for C++ ITensor, would be nice to find a place to announce this on the website so we don't catch people off guard. We can also announce things like that on the Discourse forum. For Julia we just do it in the Julia docs and Github README. |
I was thinking of starting a blog on the new itensor.org site at some point
in the near future, where we could discuss new features in ITensor among
other things. It could also serve as a guide to the community about changes
like e.g. in the future when we migrate from "legacy" MPS to
ITensorNetworks for things like MPS and MPO algorithms.
For now I think the Discourse forum is a good venue. I can make a post
there –
…On Fri, 23 Jun 2023 at 13:10, Matt Fishman ***@***.***> wrote:
format is being used in some examples so I imagine some people copied it
from there. I'm ok making this change, as you say it's easy enough to tell
people to add using tfm::format; at the top of their code.
I guess with the new website we've lost our "News" section where we used
to announce new versions and breaking changes for C++ ITensor, would be
nice to find a place to announce this on the website so we don't catch
people off guard. We can also announce things like that on the Discourse
forum. For Julia we just do it in the Julia docs and Github README.
—
Reply to this email directly, view it on GitHub
<#419 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHJ3RIQ5HVYNREWR3SN22TXMXEZVANCNFSM6AAAAAAZQZURMM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
-=Miles Stoudenmire=-
***@***.***
***@***.***
http://itensor.org/miles/
|
@emstoudenmire would you be ready to make a post about this if I merge it soon? @Wentzell wants this merged so they can use the official ITensor version in their CI tests. |
@emstoudenmire should I merge this? |
I've added a News entry publicly about this now on https://itensor.org Please have a look to let me know if it's accurate. |
Thanks, looks great and that will be very helpful to have going forward! To be on the conservative side, I'm going to avoid introducing the namespace tfm = tinyformat; |
@emstoudenmire I updated the News item already. |
Thanks for updating it! |
Trying to address #418.
The unfortunate part is that this relies on not introducing
format
fromtinyformat
into the namespace, so it would break user code that depends on just being able to directly useformat
.I couldn't reproduce the original issue locally, @Wentzell could you see if this fixes the issue you saw? If it does then we can try to think of a safer fix.