1
0
Fork 0
mirror of https://github.com/gwm17/catima.git synced 2024-12-03 07:28:49 -05:00

Update catima_calculator.cpp

This commit is contained in:
Andrej Prochazka 2019-10-14 17:18:20 +02:00 committed by GitHub
parent 147e2da9d3
commit 2d1a106469
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -251,7 +251,7 @@ Material json_material(json &j){
cout<<"Warning: material thickness = "<<th<<"\n"; cout<<"Warning: material thickness = "<<th<<"\n";
} }
if(z<200 && z>0){ if(z<200){
Material m(a,z,density,th); Material m(a,z,density,th);
if(ipot>0)m.I(ipot); if(ipot>0)m.I(ipot);
return m; return m;