From 530c8cf8fd3e189815ab0ae59bcf284b12dde780 Mon Sep 17 00:00:00 2001 From: "Lori A. Burns" Date: Thu, 31 Aug 2023 00:57:37 -0400 Subject: [PATCH] try 11 --- include/libint2/basis.h.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/libint2/basis.h.in b/include/libint2/basis.h.in index 9c6b10830..d38b8ba21 100644 --- a/include/libint2/basis.h.in +++ b/include/libint2/basis.h.in @@ -466,7 +466,12 @@ namespace libint2 { static std::vector> read_g94_basis_library(std::string file_dot_g94, bool force_cartesian_d = false, bool throw_if_missing = true, - std::string locale_name = std::string("POSIX")) { +#ifdef _MSC_VER + std::string locale_name = std::string("en-US") +#else + std::string locale_name = std::string("POSIX") // "en_US" +#endif + ) { std::locale locale(locale_name.c_str()); // TODO omit c_str() with up-to-date stdlib std::vector> ref_shells(118); // 118 = number of chemical elements