Skip to content

Commit

Permalink
BibTex -> BibTeX
Browse files Browse the repository at this point in the history
+ reformat tests/unit/test.cc
  • Loading branch information
evaleev committed Dec 26, 2023
1 parent 8edc1e7 commit 097e723
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,13 @@ auto Mmp = libint2::libint_version();
printf("Version: Numeric=%s Sortable=%s Commit=%s\n", libint2::libint_version_string(false).c_str(), libint2::libint_version_string(true).c_str(), libint2::libint_commit().c_str());
printf("Version: Major=%d minor=%d patch=%d\n", std::get<0>(Mmp), std::get<1>(Mmp), std::get<2>(Mmp));
printf("Citation: DOI=%s Ref=%s\n", libint2::libint_reference_doi().c_str(), libint2::libint_reference().c_str());
printf("Citation: BibTex=%s\n", libint2::libint_bibtex().c_str());
printf("Citation: BibTeX=%s\n", libint2::libint_bibtex().c_str());
```
```
Version: Numeric=2.8.0 Sortable= Commit=
Version: Major=2 minor=8 patch=0
Citation: DOI= Ref=Libint: , Version Edward F. Valeev, http://libint.valeyev.net/
Citation: BibTex=@Misc{Libint2,
Citation: BibTeX=@Misc{Libint2,
author = {E.~F.~Valeev},
title = {\textsc{Libint}: },
howpublished = {http://libint.valeyev.net/},
Expand Down
13 changes: 9 additions & 4 deletions tests/unit/test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,15 @@ int main(int argc, char* argv[]) {
printf("Supports: dddd=%d mmmm=%d FF=%d\n", libint2::supports("eri_dddd_d0"),
libint2::supports("eri_mmmm_d0"), libint2::supports("eri_FF_d0"));
auto Mmp = libint2::libint_version();
printf("Version: Numeric=%s Sortable=%s Commit=%s\n", libint2::libint_version_string(false).c_str(), libint2::libint_version_string(true).c_str(), libint2::libint_commit().c_str());
printf("Version: Major=%d minor=%d patch=%d\n", std::get<0>(Mmp), std::get<1>(Mmp), std::get<2>(Mmp));
printf("Citation: DOI=%s Ref=%s\n", libint2::libint_reference_doi().c_str(), libint2::libint_reference().c_str());
printf("Citation: BibTex=%s\n", libint2::libint_bibtex().c_str());
printf("Version: Numeric=%s Sortable=%s Commit=%s\n",
libint2::libint_version_string(false).c_str(),
libint2::libint_version_string(true).c_str(),
libint2::libint_commit().c_str());
printf("Version: Major=%d minor=%d patch=%d\n", std::get<0>(Mmp),
std::get<1>(Mmp), std::get<2>(Mmp));
printf("Citation: DOI=%s Ref=%s\n", libint2::libint_reference_doi().c_str(),
libint2::libint_reference().c_str());
printf("Citation: BibTeX=%s\n", libint2::libint_bibtex().c_str());

#ifdef LIBINT_HAS_MPFR
// default to 256 bits of precision for mpf_class
Expand Down

0 comments on commit 097e723

Please sign in to comment.