Keith O'Hara

Results 9 comments of Keith O'Hara

I cannot replicate this issue. The `gd` tests include calls to this line of code. What version of Eigen are you using? (If those links contain additional information, can you...

Before proposing a code change like this, I suggest first opening an issue to discuss the proposal. In general, I have no need to support MSVC, and don't want to...

> vectorized wrappers which do not otherwise support setting a seed Fixed in version 3.3.0.

Can you help me identify the issue by providing a minimal reproducible example?

Thanks for the example. I am unable to replicate the seg fault on my system--your example compiles and runs without issue. Can you provide the compiler flags you're using?

I wonder if a mismatch between SSE/AVX flags might be causing issues. By default, on x86 systems, OptimLib uses `-march=native`. Unless there's a particular reason why you need to limit...

Unfortunately, your approach does not cover signed zeros - try `HACK_MSVCcopysign(1.0, -0.0)`. If MSVC's `_fpclass(x)` function is `constexpr` friendly, then the new `gcem::copysign` function will provide a workaround.

Can you provide some details about the system you're compiling this on?

Can you provide a minimal reproducible example that generates this error?