Stephen Berry

Results 391 comments of Stephen Berry

`b.a := a` doesn't throw an error, but it doesn't give the correct result For example, let's give the default A and B classes different values: ``` C++ struct A...

Thanks for the tips. I have implemented a function to assign shared_ptrs. I'd just prefer the assignment operator to work.

That makes sense. And, we are setting up unit tests with floating point tolerances. We just had stringent requirements, and had to port an engine and ensure that all floating...

So, C++17 adds std::from_chars (http://en.cppreference.com/w/cpp/utility/from_chars) that, "is locale-independent." It seems this is the best solution for future versions of ChaiScript. But, I know that ChaiScript probably won't be moving to...

Thanks for describing the implicit conversion process. Since explicit conversion will always be faster, then I'll just enforce explicit casting in this case. You can close this issue, as I'll...

@lefticus Yes, we've had to remove some implicit conversions so that ChaiScript functions can be passed to C++ code. Do you have an idea of what is causing this issue?

I agree with keeping this a low priority if you think it may affect performance. I just thought I'd pose the idea because it helps with keeping ChaiScript matching C++...

I believe lefticus is referring to parsing speed. The actual calls to the functions will not be slowed by adding in this support, but the parser needs to determine how...

Hi Nick, As long as your set (may be decoupled) or system of ODEs are evaluated with the same dependent variable (denoted as time in Ascent) then you can gain...

Thanks for pointing out heyoka, it looks like a neat library. There are a number of higher precision libraries (up to 128bit quad precision) that I don't think would be...