chiark / gitweb /
fix compilation problem with MSVC (#131)
authorSteven G. Johnson <stevenj@mit.edu>
Fri, 28 Jul 2017 19:48:08 +0000 (15:48 -0400)
committerGitHub <noreply@github.com>
Fri, 28 Jul 2017 19:48:08 +0000 (15:48 -0400)
commit7ea2d146179d61881a0e92d145664b3ee33ad2d6
tree49960430398321fc4cf65c93c99b84896a95fbeb
parent111c6de16be47a0ee5d4407a029f9de8a9ef0b22
fix compilation problem with MSVC (#131)

* fix for #51

This pragma fixes a known problem compiling with VS2013 or VS2015 in Release.
See issue #51 for more info.

* The fix fod Visual Studio starts from version 2013 onwards.

This has not been fixed for VS2015, so we keep the macro guard open for future versions of VS.
The vectorization of this loop is not that important anyways.
See #51.
cobyla/cobyla.c