Index: /issm/trunk/src/c/objects/Elements/Penta.cpp
===================================================================
--- /issm/trunk/src/c/objects/Elements/Penta.cpp	(revision 9027)
+++ /issm/trunk/src/c/objects/Elements/Penta.cpp	(revision 9028)
@@ -4879,5 +4879,5 @@
 	}
 	else if ((code==7) || (code==3)){ //double
-		this->inputs->AddInput(new DoubleInput(name,(int)scalar));
+		this->inputs->AddInput(new DoubleInput(name,(double)scalar));
 	}
 	else _error_("%s%i"," could not recognize nature of vector from code ",code);
