From 7a837f36a30d70c6484bf5387a3b22129bb36d09 Mon Sep 17 00:00:00 2001 From: hrocho Date: Wed, 15 May 2019 17:27:37 +0200 Subject: [PATCH] info fix --- pymodule/pycatima.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymodule/pycatima.cpp b/pymodule/pycatima.cpp index 3446a55..c6adda1 100644 --- a/pymodule/pycatima.cpp +++ b/pymodule/pycatima.cpp @@ -24,7 +24,7 @@ std::string material_to_string(const Material &r){ for(int i = 0; i < n; i++){ auto el = r.get_element(i); s += "#"+std::to_string(i); - s += ": A = "+std::to_string(el.A) + ", Z = "+std::to_string(el.A)+ ", stn = "+std::to_string(el.stn)+"\n"; + s += ": A = "+std::to_string(el.A) + ", Z = "+std::to_string(el.Z)+ ", stn = "+std::to_string(el.stn)+"\n"; } return s; };