jeremyong/Selene

Assigning lua variable to float causes Segmentation fault

zbrojny120 opened this issue · 1 comments

float example = state["exmpl"];
And other assignments using float, including static_cast, cause Segmentation fault, making the following code required to assign values to float:
float example = static_cast<double>(state["exmpl"]);

Could be this related to #103 ?? I have a similar problem but with strings on VS2015 , were (I think) is calling the copy constructor of std::string