diff --git a/src/Estimators/InputSection.cpp b/src/Estimators/InputSection.cpp index 269fd7da4c..97600c53d9 100644 --- a/src/Estimators/InputSection.cpp +++ b/src/Estimators/InputSection.cpp @@ -282,7 +282,7 @@ void InputSection::setFromValue(const std::string& name, const std::any& value) else if (isMultiString(name)) assignValue(name, std::any_cast>(value)); else if (isMultiReal(name)) - assignValue(name, std::any_cast>(value)); + assignValue(name, std::any_cast>(value)); else if (isBool(name)) assignValue(name, std::any_cast(value)); else if (isInteger(name)) @@ -298,7 +298,7 @@ void InputSection::setFromValue(const std::string& name, const std::any& value) throw UniformCommunicateError(error.str()); } } - catch (const std::bad_cast& exc) + catch (...) { std::throw_with_nested(UniformCommunicateError("std::any_cast failed in setFromValue for name:" + name)); } diff --git a/tests/test_automation/github-actions/ci/run_step.sh b/tests/test_automation/github-actions/ci/run_step.sh index 2129206be2..871e43e814 100755 --- a/tests/test_automation/github-actions/ci/run_step.sh +++ b/tests/test_automation/github-actions/ci/run_step.sh @@ -282,15 +282,7 @@ case "$1" in test) # Run only deterministic tests (reasonable for CI) by default - case "${GH_JOBNAME}" in - *"macOS-GCC16"*"-Real"*) - TEST_LABEL="-L deterministic -E deterministic-unit_test_estimators" - # estimator test bus error on mac only - ;; - *) - TEST_LABEL="-L deterministic" - ;; - esac + TEST_LABEL="-L deterministic" cd ${GITHUB_WORKSPACE}/../qmcpack-build