You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#include<boost/gil.hpp>namespacegil= boost::gil;
int main
{
// your code
std::array<int, 81> v = {0};
gil::detail::kernel_2d_fixed<int, 9> kernel(v.cbegin(), 4, 4); // Not ok
}
This problem remained unnoticed in CI build due to this macro.
Environment
Compiler version: gcc 11.1.0
Version: Boost 1.76.0
The text was updated successfully, but these errors were encountered:
Actual behavior
boost::gil::detail::kernel_2d_fixed
gives false assertion errors during its initialization.Expected behavior
A 2D kernel with provided values and center co-ordinates should be created
C++ Minimal Working Example
https://wandbox.org/permlink/apUAhyheZUyea3UO
This problem remained unnoticed in CI build due to this macro.
Environment
The text was updated successfully, but these errors were encountered: