From 5cbcbff0c640a101a72c20f41c25da86bb58ab4a Mon Sep 17 00:00:00 2001
From: Rahil Doshi <rahil.doshi@fau.de>
Date: Mon, 7 Apr 2025 11:28:30 +0200
Subject: [PATCH] Correct return type annotation in create_alloy_from_yaml
 function

---
 src/pymatlib/core/yaml_parser.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pymatlib/core/yaml_parser.py b/src/pymatlib/core/yaml_parser.py
index d7918a1..ec2c895 100644
--- a/src/pymatlib/core/yaml_parser.py
+++ b/src/pymatlib/core/yaml_parser.py
@@ -1204,7 +1204,7 @@ class MaterialConfigParser:
 # External Function
 ##################################################
 
-def create_alloy_from_yaml(yaml_path: Union[str, Path], T: Union[float, sp.Symbol]) -> Alloy:
+def create_alloy_from_yaml(yaml_path: Union[str, Path], T: Union[float, sp.Symbol]) -> Tuple[Alloy, np.ndarray]:
     """
     Create alloy instance from YAML configuration file
     Args:
-- 
GitLab