JuliaImages / Images.jl

An image library for Julia
http://juliaimages.org/
Other
535 stars 143 forks source link

Regression in either the language or some of the Images.jl packages #721

Closed juliohm closed 6 years ago

juliohm commented 6 years ago

This morning I had to rebuild Julia v0.6 (release-0.6 branch) on my Arch machine due to the GCC update. Now, there is a silent bug introduced somewhere that is making my package generate garbage:

using ImageQuilting
using GeoStatsImages
using Plots

TI = training_image("Strebelle")

reals = iqsim(TI, 62, 62, 1, size(TI)..., nreal=3)

plts = []
for real in reals
   plt = heatmap(real[:,:,1], yflip=true, cbar=false)
   push!(plts, plt)
end
plot(plts..., layout=(1,3), size=(950,500))

This code used to produce the first image in this link: http://juliohm.github.io/ImageQuilting.jl/stable/examples.html

Now it produces this: screenshot from 2018-05-09 08-54-06

Did someone touch the image filtering operations recently? Some changes in offsets or something that could have affected this? Or this is a more serious regression in the language?

Evizero commented 6 years ago

This seems serious. Just to cover our basics here, can you somehow test that this is not a visualization error by Plots or friends?

juliohm commented 6 years ago

@Evizero I've checked the plots commands with simple images, everything is working there. It is really something about the ImageFiltering.jl, offset arrays, or something else in the latest commits of release-0.6 in Julia.

Another way to screen out possibilities is to run the tests for ImageQuilting.jl, they are failing with similar garbage images.

juliohm commented 6 years ago

And I can narrow down my usage of Images.jl in the package to this line of code: https://github.com/juliohm/ImageQuilting.jl/blob/master/src/imfilter_cpu.jl

Everything else is Images.jl-independent as far as I remember.

Evizero commented 6 years ago

What version of ImageFiltering do you use?

juliohm commented 6 years ago

I did an update to make sure everything is in the latest stable. The version is ImageFiltering.jl 0.3.0. Thanks for the prompt reply.

Evizero commented 6 years ago

I'll take a closer look when I find some time

juliohm commented 6 years ago

The ImageInpainting.jl tests are failing with similar errors, and it also only depends on ImageFiltering.jl.

I am sure the issue is there.

Evizero commented 6 years ago

This is what I am seeing. Does this look broken? (I do not know what I am looking at)

plot
juliohm commented 6 years ago

It looks correct, the channels are connected. What version of Julia?

Julia Version 0.6.3-pre.1
Commit 41143e875d* (2018-04-18 22:58 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, skylake)
Evizero commented 6 years ago
Julia Version 0.6.3-pre.0
Commit 93168a6 (2017-12-18 07:11 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, haswell)
juliohm commented 6 years ago

I will try to rebuild Julia with the same commit, thanks for sharing...

juliohm commented 6 years ago

Before I rebuild Julia, I would like paste the output of tests for ImageFiltering.jl, they are failing for me:

INFO: Testing ImageFiltering
Skipping Base.<|
Skipping Base.active_repl
Skipping Base.active_repl_backend
Skipping Base.<|
Skipping Base.active_repl
Skipping Base.active_repl_backend
Test Summary: | Pass  Total
Border        |   79     79
INFO: Two warnings are expected
WARNING: Likely overflow or conversion error detected. Consider specifying the output type, e.g., `imfilter(UInt32, img, kernel, ...)`
Test Summary: | Pass  Total
1d            |   60     60
WARNING: Likely overflow or conversion error detected. Consider specifying the output type, e.g., `imfilter(Int32, img, kernel, ...)`
Test Summary: | Pass  Total
2d widening   |    3      3
3d: Test Failed
  Expression: imfilter(img, kernel, Fill(0), Algorithm.FFT()) ≈ target
   Evaluated: [0.296296 0.148148 2.1684e-17 4.53197e-17 1.6263e-17 1.01264e-16 0.148148 0.296296 0.444444 0.444444; 0.444444 0.222222 4.67039e-17 7.98023e-17 3.64768e-17 1.30117e-16 0.222222 0.444444 0.666667 0.666667; 0.444444 0.222222 4.54921e-17 8.09834e-17 3.74514e-17 1.21462e-16 0.222222 0.444444 0.666667 0.666667; 0.444444 0.222222 6.90635e-17 9.41606e-17 3.19945e-17 1.14108e-16 0.222222 0.444444 0.666667 0.666667; 0.444444 0.222222 8.13152e-17 1.00506e-16 2.0383e-17 1.01807e-16 0.222222 0.444444 0.666667 0.666667; 0.444444 0.222222 9.53814e-17 1.0003e-16 5.69904e-18 7.74912e-17 0.222222 0.444444 0.666667 0.666667; 0.444444 0.222222 1.0162e-16 1.01451e-16 6.40076e-18 6.34257e-17 0.222222 0.444444 0.666667 0.666667; 0.444444 0.222222 8.89368e-17 9.32262e-17 -4.06213e-18 4.09701e-17 0.222222 0.444444 0.666667 0.666667; 0.444444 0.222222 9.45424e-17 1.00831e-16 -1.0842e-18 4.57533e-17 0.222222 0.444444 0.666667 0.666667; 0.296296 0.148148 7.26944e-17 6.72915e-17 -1.77706e-17 1.6363e-17 0.148148 0.296296 0.444444 0.444444]

[0.148148 0.0740741 2.30935e-17 3.29597e-17 3.90313e-17 4.68375e-17 0.0740741 0.148148 0.222222 0.222222; 0.222222 0.111111 1.31608e-17 1.50684e-17 1.17041e-17 2.00321e-17 0.111111 0.222222 0.333333 0.333333; 0.222222 0.111111 9.77771e-18 2.74639e-18 -1.14974e-17 3.0711e-18 0.111111 0.222222 0.333333 0.333333; 0.222222 0.111111 1.01095e-17 -6.59331e-18 -2.38163e-17 -9.84433e-18 0.111111 0.222222 0.333333 0.333333; 0.222222 0.111111 2.33103e-18 -1.97325e-17 -2.63461e-17 -1.84314e-17 0.111111 0.222222 0.333333 0.333333; 0.222222 0.111111 1.69221e-17 -5.38009e-18 -1.11441e-17 -4.53309e-18 0.111111 0.222222 0.333333 0.333333; 0.222222 0.111111 2.49002e-17 7.52062e-18 -1.22593e-18 9.03586e-18 0.111111 0.222222 0.333333 0.333333; 0.222222 0.111111 4.02502e-17 2.18181e-17 8.50511e-18 1.58586e-17 0.111111 0.222222 0.333333 0.333333; 0.222222 0.111111 4.47775e-17 1.95156e-17 1.19262e-17 5.63785e-18 0.111111 0.222222 0.333333 0.333333; 0.148148 0.0740741 4.48607e-17 1.33095e-17 6.39171e-18 -6.3738e-18 0.0740741 0.148148 0.222222 0.222222]

[8.17883e-18 5.09754e-18 6.72176e-18 6.58044e-18 6.63958e-18 9.78475e-18 1.55798e-17 2.60818e-17 3.27464e-17 3.58031e-17; 1.41361e-17 1.64669e-17 2.02355e-17 1.91634e-17 1.79314e-17 2.1054e-17 2.08453e-17 2.13456e-17 1.69902e-17 1.45029e-17; 1.48601e-17 2.83465e-17 4.02629e-17 4.14574e-17 3.9958e-17 4.2324e-17 3.20714e-17 1.8187e-17 3.51476e-18 7.76309e-19; 5.635e-18 2.64121e-17 4.19029e-17 4.18611e-17 4.01735e-17 4.24701e-17 2.75791e-17 3.96291e-18 -1.62044e-17 -1.95703e-17; -3.73954e-18 1.87735e-17 3.42955e-17 3.33902e-17 2.93536e-17 2.80238e-17 1.17357e-17 -1.27568e-17 -3.19739e-17 -3.53013e-17; -5.86498e-18 1.5056e-17 2.88751e-17 2.29545e-17 1.81545e-17 1.69525e-17 1.42972e-18 -2.17314e-17 -3.99701e-17 -4.08241e-17; 2.64186e-18 2.50464e-17 3.47079e-17 2.08715e-17 9.98036e-18 9.03493e-18 -6.74472e-18 -2.78563e-17 -4.3788e-17 -4.04626e-17; 1.47423e-17 2.79007e-17 2.84899e-17 5.54519e-18 -1.16185e-17 -1.57124e-17 -2.89662e-17 -4.28169e-17 -5.27469e-17 -4.56702e-17; 2.63996e-17 2.59421e-17 1.3512e-17 -1.80027e-17 -4.21938e-17 -5.01702e-17 -5.96604e-17 -6.5094e-17 -6.79906e-17 -5.97994e-17; 3.50088e-17 2.73607e-17 8.50715e-18 -2.6351e-17 -5.58805e-17 -6.76734e-17 -7.62388e-17 -7.68006e-17 -7.06132e-17 -5.59126e-17]

[3.39602e-17 5.18123e-18 -1.986e-17 -4.06878e-17 -4.15491e-17 -2.46147e-17 -1.37303e-20 2.74024e-17 6.04743e-17 8.55811e-17; 6.76082e-17 4.03258e-17 1.44667e-17 -7.57308e-18 -1.15203e-17 2.86522e-18 2.02944e-17 3.96523e-17 6.46348e-17 8.799e-17; 8.61338e-17 6.92487e-17 5.18633e-17 3.14957e-17 2.58743e-17 3.64454e-17 4.21703e-17 4.85711e-17 6.35904e-17 8.78668e-17; 8.65902e-17 7.78354e-17 6.65457e-17 4.72554e-17 4.05266e-17 4.63975e-17 4.53584e-17 4.35482e-17 5.41792e-17 8.01953e-17; 7.0402e-17 6.66211e-17 5.83618e-17 4.09393e-17 3.40092e-17 3.53036e-17 3.41803e-17 3.13043e-17 4.29094e-17 6.95009e-17; 6.50027e-17 6.24974e-17 5.54983e-17 3.77096e-17 3.33755e-17 3.58248e-17 3.83978e-17 3.78456e-17 5.01704e-17 7.67269e-17; 6.37423e-17 6.026e-17 5.06454e-17 3.03773e-17 2.44245e-17 2.91646e-17 3.69881e-17 4.38279e-17 5.99219e-17 8.63699e-17; 6.17336e-17 4.9874e-17 3.14604e-17 5.50027e-18 -3.58108e-18 2.00913e-18 1.66502e-17 3.35354e-17 5.43944e-17 7.93564e-17; 5.25554e-17 2.63368e-17 -6.27583e-18 -3.83535e-17 -5.29845e-17 -4.94773e-17 -2.93788e-17 -2.75858e-18 2.44725e-17 4.77066e-17; 3.52665e-17 2.61042e-18 -3.40421e-17 -6.80769e-17 -8.62092e-17 -8.60781e-17 -6.76536e-17 -3.84274e-17 -8.01514e-18 1.66102e-17]

[1.16911e-17 -1.45732e-17 -3.31464e-17 -4.74783e-17 -4.21934e-17 -2.33462e-17 1.17327e-17 4.63564e-17 8.09706e-17 9.57232e-17; 3.8641e-17 1.54857e-17 -4.66412e-18 -2.25998e-17 -2.21074e-17 -3.97704e-18 2.73247e-17 5.80823e-17 8.89283e-17 1.07177e-16; 5.84754e-17 4.55526e-17 3.22103e-17 1.2065e-17 9.18612e-18 2.75012e-17 4.84584e-17 6.95383e-17 9.36309e-17 1.20979e-16; 6.67684e-17 6.15544e-17 5.22001e-17 2.97791e-17 2.54218e-17 4.17401e-17 5.4942e-17 6.5351e-17 8.24288e-17 1.1561e-16; 6.24635e-17 6.06423e-17 5.11498e-17 2.80384e-17 2.42134e-17 3.79994e-17 4.86863e-17 5.17629e-17 6.53677e-17 9.87717e-17; 6.1382e-17 5.64499e-17 4.31945e-17 1.87244e-17 1.72329e-17 3.25572e-17 4.40205e-17 4.58498e-17 5.77299e-17 9.17397e-17; 5.99045e-17 4.91012e-17 3.00338e-17 4.08029e-18 7.65692e-19 1.75207e-17 3.04909e-17 3.82408e-17 5.38739e-17 9.02369e-17; 6.32622e-17 4.19365e-17 1.21854e-17 -1.81465e-17 -2.46877e-17 -9.20233e-18 8.55412e-18 2.50231e-17 4.47791e-17 7.70137e-17; 6.38317e-17 3.19103e-17 -9.53554e-18 -4.33315e-17 -5.54082e-17 -4.62643e-17 -2.64002e-17 -4.88368e-18 1.68224e-17 4.03723e-17; 5.37505e-17 1.97104e-17 -2.20027e-17 -5.69821e-17 -7.4301e-17 -7.15784e-17 -5.45689e-17 -3.08163e-17 -6.48605e-18 1.43066e-17]

[1.1196e-17 -1.59834e-17 -3.66709e-17 -5.43324e-17 -5.15282e-17 -3.00145e-17 -3.04875e-18 2.63997e-17 5.75994e-17 8.04408e-17; 4.24636e-17 1.93475e-17 -2.53186e-19 -1.83628e-17 -1.83659e-17 2.12726e-19 2.0883e-17 4.29528e-17 6.76302e-17 8.88814e-17; 5.92346e-17 4.82157e-17 3.86524e-17 2.34159e-17 2.30079e-17 3.81685e-17 4.86437e-17 5.86501e-17 7.49551e-17 9.77234e-17; 5.7442e-17 5.48706e-17 5.20343e-17 3.86637e-17 3.82612e-17 4.92859e-17 5.4689e-17 5.77608e-17 7.20387e-17 9.81522e-17; 4.66273e-17 4.78571e-17 4.72323e-17 3.56e-17 3.53957e-17 4.2306e-17 4.87978e-17 5.20858e-17 6.95023e-17 9.80531e-17; 4.45969e-17 4.5475e-17 4.46262e-17 3.22058e-17 3.39935e-17 4.17603e-17 5.17881e-17 5.7579e-17 7.70591e-17 1.07355e-16; 5.2976e-17 5.13339e-17 4.58683e-17 2.99717e-17 2.86439e-17 3.80167e-17 5.239e-17 6.5038e-17 8.87143e-17 1.19498e-16; 5.81018e-17 4.67982e-17 3.03628e-17 8.11046e-18 2.48581e-18 1.22849e-17 3.22525e-17 5.33529e-17 8.04775e-17 1.08814e-16; 5.34058e-17 2.7174e-17 -4.476e-18 -3.26086e-17 -4.40632e-17 -3.6426e-17 -1.24541e-17 1.60142e-17 4.70399e-17 7.14781e-17; 3.82315e-17 5.05099e-18 -3.11972e-17 -6.07504e-17 -7.4947e-17 -6.98584e-17 -4.80084e-17 -1.85139e-17 1.31404e-17 3.64362e-17]

[0.148148 0.0740741 -1.76725e-17 1.52873e-17 1.37694e-17 1.20346e-17 0.0740741 0.148148 0.222222 0.222222; 0.222222 0.111111 -1.19446e-17 2.49443e-17 2.57241e-17 2.3718e-17 0.111111 0.222222 0.333333 0.333333; 0.222222 0.111111 2.39988e-18 3.52928e-17 3.78994e-17 3.02615e-17 0.111111 0.222222 0.333333 0.333333; 0.222222 0.111111 2.40955e-17 5.42656e-17 5.67812e-17 4.67392e-17 0.111111 0.222222 0.333333 0.333333; 0.222222 0.111111 2.95987e-17 5.50775e-17 6.37511e-17 5.34512e-17 0.111111 0.222222 0.333333 0.333333; 0.222222 0.111111 4.16903e-17 6.01219e-17 6.59976e-17 6.45812e-17 0.111111 0.222222 0.333333 0.333333; 0.222222 0.111111 4.34876e-17 5.70565e-17 5.02709e-17 6.42915e-17 0.111111 0.222222 0.333333 0.333333; 0.222222 0.111111 3.79878e-17 4.27674e-17 3.49072e-17 4.95654e-17 0.111111 0.222222 0.333333 0.333333; 0.222222 0.111111 3.1984e-17 3.35018e-17 2.85145e-17 4.06576e-17 0.111111 0.222222 0.333333 0.333333; 0.148148 0.0740741 2.44815e-17 1.73415e-17 1.82873e-17 2.17305e-17 0.0740741 0.148148 0.222222 0.222222]

[0.296296 0.148148 -6.85216e-17 -4.6187e-17 -5.9848e-17 -4.11997e-18 0.148148 0.296296 0.444444 0.444444; 0.444444 0.222222 -7.49117e-17 -4.03489e-17 -7.29083e-17 -8.09364e-18 0.222222 0.444444 0.666667 0.666667; 0.444444 0.222222 -5.60869e-17 -3.88945e-17 -8.08962e-17 -1.45542e-17 0.222222 0.444444 0.666667 0.666667; 0.444444 0.222222 -4.82226e-17 -4.25113e-17 -9.35081e-17 -3.35828e-17 0.222222 0.444444 0.666667 0.666667; 0.444444 0.222222 -4.79217e-17 -5.75711e-17 -1.0159e-16 -5.54027e-17 0.222222 0.444444 0.666667 0.666667; 0.444444 0.222222 -2.18332e-17 -4.13447e-17 -8.92882e-17 -5.44679e-17 0.222222 0.444444 0.666667 0.666667; 0.444444 0.222222 1.02566e-17 -1.26268e-18 -5.94301e-17 -2.19231e-17 0.222222 0.444444 0.666667 0.666667; 0.444444 0.222222 3.49577e-17 1.66997e-17 -3.85167e-17 -1.81604e-17 0.222222 0.444444 0.666667 0.666667; 0.444444 0.222222 2.25514e-17 1.32273e-17 -3.46945e-17 -2.79724e-17 0.222222 0.444444 0.666667 0.666667; 0.296296 0.148148 2.10662e-17 1.83626e-18 -2.82829e-17 -4.08454e-17 0.148148 0.296296 0.444444 0.444444]

[0.444444 0.222222 -3.42608e-17 -5.1608e-17 3.38271e-17 3.90313e-18 0.222222 0.444444 0.666667 0.666667; 0.666667 0.333333 -1.22668e-17 -1.49801e-17 3.62892e-17 3.63055e-17 0.333333 0.666667 1.0 1.0; 0.666667 0.333333 -4.78326e-18 -3.23629e-17 -6.94792e-18 6.88938e-18 0.333333 0.666667 1.0 1.0; 0.666667 0.333333 2.45018e-17 -2.55631e-17 -1.72636e-17 -4.31995e-18 0.333333 0.666667 1.0 1.0; 0.666667 0.333333 2.9924e-17 -3.1225e-17 -2.47198e-17 -3.1225e-17 0.333333 0.666667 1.0 1.0; 0.666667 0.333333 6.39452e-17 -1.90424e-17 -1.59035e-17 -4.02856e-17 0.333333 0.666667 1.0 1.0; 0.666667 0.333333 9.02268e-17 -5.25369e-18 -9.38314e-18 -4.4506e-17 0.333333 0.666667 1.0 1.0; 0.666667 0.333333 8.23627e-17 -7.3159e-18 2.73863e-18 -5.86015e-17 0.333333 0.666667 1.0 1.0; 0.666667 0.333333 5.59448e-17 3.90313e-18 3.64292e-17 -5.1608e-17 0.333333 0.666667 1.0 1.0; 0.444444 0.222222 7.16785e-18 -3.94246e-17 2.84939e-17 -9.07102e-17 0.222222 0.444444 0.666667 0.666667]

[0.444444 0.222222 -1.79978e-17 4.4886e-17 1.36609e-16 1.00397e-16 0.222222 0.444444 0.666667 0.666667; 0.666667 0.333333 -3.17922e-17 4.67424e-17 1.07272e-16 9.76961e-17 0.333333 0.666667 1.0 1.0; 0.666667 0.333333 -4.74013e-17 1.00505e-17 4.4306e-17 4.99161e-17 0.333333 0.666667 1.0 1.0; 0.666667 0.333333 -6.8439e-17 -1.13817e-17 -3.75912e-18 9.06011e-18 0.333333 0.666667 1.0 1.0; 0.666667 0.333333 -9.5193e-17 -3.1225e-17 -2.66714e-17 -3.03577e-17 0.333333 0.666667 1.0 1.0; 0.666667 0.333333 -7.28125e-17 -2.18869e-17 -2.31085e-17 -4.39314e-17 0.333333 0.666667 1.0 1.0; 0.666667 0.333333 -1.56922e-17 2.67604e-17 1.9617e-17 -1.18786e-17 0.333333 0.666667 1.0 1.0; 0.666667 0.333333 3.76424e-17 6.84018e-17 7.59564e-17 1.67842e-17 0.333333 0.666667 1.0 1.0; 0.666667 0.333333 5.87638e-17 1.2078e-16 1.4615e-16 6.5269e-17 0.333333 0.666667 1.0 1.0; 0.444444 0.222222 6.88197e-17 1.23772e-16 1.81816e-16 7.2818e-17 0.222222 0.444444 0.666667 0.666667] ≈ [0.296296 0.444444 0.444444 0.444444 0.444444 0.444444 0.444444 0.444444 0.444444 0.296296; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.296296 0.444444 0.444444 0.444444 0.444444 0.444444 0.444444 0.444444 0.444444 0.296296]

[0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444]

[0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444]

[0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444]

[0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444]

[0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444]

[0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444]

[0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444]

[0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.666667 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.666667; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444]

[0.296296 0.444444 0.444444 0.444444 0.444444 0.444444 0.444444 0.444444 0.444444 0.296296; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.444444 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.666667 0.444444; 0.296296 0.444444 0.444444 0.444444 0.444444 0.444444 0.444444 0.444444 0.444444 0.296296]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/ImageFiltering/test/nd.jl:122 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
Test Summary: | Pass  Fail  Total
3d            |   17     1     18
ERROR: LoadError: LoadError: Some tests did not pass: 17 passed, 1 failed, 0 errored, 0 broken.
while loading /home/juliohm/.julia/v0.6/ImageFiltering/test/nd.jl, in expression starting on line 96
while loading /home/juliohm/.julia/v0.6/ImageFiltering/test/runtests.jl, in expression starting on line 9
===========================[ ERROR: ImageFiltering ]============================

failed process: Process(`/home/juliohm/Projects/julia-0.6/usr/bin/julia -Cnative -J/home/juliohm/Projects/julia-0.6/usr/lib/julia/sys.so --compile=yes --depwarn=yes --check-bounds=yes --code-coverage=none --color=yes --compilecache=yes /home/juliohm/.julia/v0.6/ImageFiltering/test/runtests.jl`, ProcessExited(1)) [1]

================================================================================
ERROR: ImageFiltering had test errors
Evizero commented 6 years ago

I tried the tests before I tried your example. worked for me

juliohm commented 6 years ago

Interesting, it may be something in Julia itself then. I'll confirm after the rebuild.

On Wed, May 9, 2018, 10:47 AM Christof Stocker notifications@github.com wrote:

I tried the tests before I tried your example. worked for me

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JuliaImages/Images.jl/issues/721#issuecomment-387819999, or mute the thread https://github.com/notifications/unsubscribe-auth/ADMLbY8NAHM5Rxgfb1qkfIL0ksWGbpL5ks5twyurgaJpZM4T4lhU .

juliohm commented 6 years ago

@Evizero could you maybe share the output of Pkg.status()?

juliohm commented 6 years ago

Ok, the issue is specific to the option Algorithm.FFT(), if I specify Algorithm.FIR() everything works. At least I can proceed with a toy example locally.

This is maybe due to some dependency like FFTW or something that changed recently on the FFT filtering operation?

juliohm commented 6 years ago

My FFTW.version returns 3.3.6, if your version is different, maybe there is the issue. At least we are getting close to the sources.

juliohm commented 6 years ago

People were pointing out on slack that FFTW.version will be the same for everyone on Julia v0.6. Do you know how I could reduce the test below to a simple FFTW call?

https://github.com/JuliaImages/ImageFiltering.jl/blob/master/test/nd.jl#L97-L122

The first test passes, the second test with Algorithm.FFT() fails.

rsrock commented 6 years ago

Do you use anything from Images.jl? I didn't see it in the ImageQuilting REQUIRE file, but maybe somewhere else?

There's a glitch (and a fix here) related to FFTW moving out of Base in 0.7. Do you see a warning about FFTW at any point as described here? If so, you could try making the edit in that PR and see if it helps.

juliohm commented 6 years ago

Thanks @rsrock , the only function I use is literally imfilter from ImageFiltering.jl. If I could somehow isolate the call to FFTW, that would help understand what is happening. I was checking git blame on the imfilter.jl file and couldn't find anything abnormal.

zygmuntszpak commented 6 years ago

It was wondering if perhaps my recent patch for ImageFiltering #718 broke something in a non-obvious manner? What happens if you check out a previous version? nd.jl passes fine on a windows system with the master branch of Images and ImageFiltering.

I tested it with Julia version:

               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.6.2 (2017-12-13 18:08 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-w64-mingw32

However, I am getting a test failure on this windows machine in ImageFiltering in basic.jl.

INFO: Testing ImageFiltering
Skipping Base.<|
Skipping Base.active_repl
Skipping Base.active_repl_backend
Skipping Base.<|
Skipping Base.active_repl
Skipping Base.active_repl_backend
Test Summary: | Pass  Total
Border        |  102    102
INFO: Two warnings are expected
WARNING: Likely overflow or conversion error detected. Consider specifying the output type, e.g., `i
mfilter(UInt32, img, kernel, ...)`
Test Summary: | Pass  Total
1d            |   60     60
WARNING: Likely overflow or conversion error detected. Consider specifying the output type, e.g., `i
mfilter(Int32, img, kernel, ...)`
Test Summary: | Pass  Total
2d widening   |    3      3
Test Summary: | Pass  Total
3d            |   18     18
Test Summary: | Pass  Total
tiling        |   10     10
Test Summary: | Pass  Total
FIR/FFT       | 1191   1191
Test Summary: | Pass  Total
TriggsSdika   |  100    100
Test Summary: | Pass  Total
cascade       |   90     90
WARNING: one(ColorTypes.Gray{FixedPointNumbers.Normed{UInt8,8}}) will soon switch to returning 1; yo
u might need to switch to `oneunit`
Stacktrace:
 [1] depwarn(::String, ::Symbol) at .\deprecated.jl:70
 [2] one(::Type{ColorTypes.Gray{FixedPointNumbers.Normed{UInt8,8}}}) at C:\Users\Spock\.julia\v0.6\C
olorTypes\src\traits.jl:341
 [3] (::#makeimpulse#18)(::Type{T} where T, ::Tuple{Int64}, ::Int64) at C:\Users\Spock\.julia\v0.6\I
mageFiltering\test\specialty.jl:23
 [4] macro expansion at C:\Users\Spock\.julia\v0.6\ImageFiltering\test\specialty.jl:28 [inlined]
 [5] macro expansion at .\test.jl:860 [inlined]
 [6] macro expansion at C:\Users\Spock\.julia\v0.6\ImageFiltering\test\specialty.jl:5 [inlined]
 [7] macro expansion at .\test.jl:860 [inlined]
 [8] anonymous at .\<missing>:?
 [9] include_from_node1(::String) at .\loading.jl:576
 [10] include(::String) at .\sysimg.jl:14
 [11] include_from_node1(::String) at .\loading.jl:576
 [12] include(::String) at .\sysimg.jl:14
 [13] process_options(::Base.JLOptions) at .\client.jl:305
 [14] _start() at .\client.jl:371
while loading C:\Users\Spock\.julia\v0.6\ImageFiltering\test\specialty.jl, in expression starting on
 line 4
Test Summary: | Pass  Total
specialty     |   97     97
Test Summary: | Pass  Total
gradient      | 6960   6960
Test Summary: | Pass  Total
mapwindow     |   78     78
basic: Test Failed
  Expression: length(tiles) == 1
   Evaluated: 4 == 1
Stacktrace:
 [1] macro expansion at C:\Users\Spock\.julia\v0.6\ImageFiltering\test\basic.jl:36 [inlined]
 [2] macro expansion at .\test.jl:860 [inlined]
 [3] anonymous at .\<missing>:?
Test Summary: | Pass  Fail  Total
basic         |   25     1     26
ERROR: LoadError: LoadError: Some tests did not pass: 25 passed, 1 failed, 0 errored, 0 broken.
while loading C:\Users\Spock\.julia\v0.6\ImageFiltering\test\basic.jl, in expression starting on lin
e 3
while loading C:\Users\Spock\.julia\v0.6\ImageFiltering\test\runtests.jl, in expression starting on
line 16
=====================================[ ERROR: ImageFiltering ]======================================

failed process: Process(`'C:\Users\Spock\AppData\Local\Julia-0.6.2\bin\julia.exe' -Cx86-64 '-JC:\Use
rs\Spock\AppData\Local\Julia-0.6.2\lib\julia\sys.dll' --compile=yes --depwarn=yes --check-bounds=yes
 --code-coverage=none --color=yes --compilecache=yes 'C:\Users\Spock\.julia\v0.6\ImageFiltering\test
\runtests.jl'`, ProcessExited(1)) [1]

====================================================================================================
ERROR: ImageFiltering had test errors

The following line fails:

tiles = ImageFiltering.tile_allocate(Float32, (rand(3),rand(3)'))
@test length(tiles) == 1

I will check my Linux machine when I get home to see if it also occurs there.

Evizero commented 6 years ago

It was wondering if perhaps my recent patch for ImageFiltering #718 broke something in a non-obvious manner? What happens if you check out a previous version?

I already considered that, but your patch is post ImageFiltering.jl 0.3.0.

zygmuntszpak commented 6 years ago

With

Julia Version 0.6.2
Commit d386e40c17 (2017-12-13 18:08 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: AMD Ryzen 5 1600 Six-Core Processor
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Barcelona)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, generic)

and

ImageFiltering        0.3.0
Images               0.13.0  

the following lines still fail

    tiles = ImageFiltering.tile_allocate(Float32, (rand(3),rand(3)'))
    @test isa(tiles, Vector{Matrix{Float32}})
    @test length(tiles) == 1
Evizero commented 6 years ago

Oddly enough I can reproduce this error today. Yesterday the tests worked. I did do a Pkg.update() today, but i don't see how that could have influences this.

INFO: Computing changes...
INFO: Upgrading Formatting: v0.3.1 => v0.3.2
INFO: Upgrading HDF5: v0.8.8 => v0.9.1
Evizero commented 6 years ago

Hold that thought, I have a hypothesis

Evizero commented 6 years ago

@zygmuntszpak can you comfirm that the test pass when you execute the following command before starting julia

export JULIA_NUM_THREADS=1

Turns out that this was the reason why the tests passed yesterday and didn't pass just now (my .bashrc sets it to 10)

Evizero commented 6 years ago

@juliohm What does Threads.nthreads() show for you? if its greater than 1, can you try setting it to just 1 and see if that avoids the buggy behaviour?

Evizero commented 6 years ago

Either way, we may want to adapt the ImageFiltering tests to either be tolerant of, or more informative when using more than one thread

zygmuntszpak commented 6 years ago

I can confirm that the tests pass if I launch Julia with a single thread. I was originally testing things through the Juno REPL and realize now that it launches Julia with multiple threads automatically.

juliohm commented 6 years ago

@Evizero just tried with a single thread and the behavior is the same. Any hints on what else could be causing the issue with the FFT algorithm in imfilter?

juliohm commented 6 years ago

If there is anything that I can do to help solve the issue, please let me know. Below is a minimum working example where the FFT version gives the wrong result:

using ImageFiltering

img = trues(10,10)
kern = centered(trues(3,3)/9)

imfilter(img, kern, Fill(0))
10×10 Array{Float64,2}:
 0.444444  0.666667  0.666667  0.666667  0.666667  0.666667  0.666667  0.666667  0.666667  0.444444
 0.666667  1.0       1.0       1.0       1.0       1.0       1.0       1.0       1.0       0.666667
 0.666667  1.0       1.0       1.0       1.0       1.0       1.0       1.0       1.0       0.666667
 0.666667  1.0       1.0       1.0       1.0       1.0       1.0       1.0       1.0       0.666667
 0.666667  1.0       1.0       1.0       1.0       1.0       1.0       1.0       1.0       0.666667
 0.666667  1.0       1.0       1.0       1.0       1.0       1.0       1.0       1.0       0.666667
 0.666667  1.0       1.0       1.0       1.0       1.0       1.0       1.0       1.0       0.666667
 0.666667  1.0       1.0       1.0       1.0       1.0       1.0       1.0       1.0       0.666667
 0.666667  1.0       1.0       1.0       1.0       1.0       1.0       1.0       1.0       0.666667
 0.444444  0.666667  0.666667  0.666667  0.666667  0.666667  0.666667  0.666667  0.666667  0.444444

imfilter(img, kern, Fill(0), Algorithm.FFT())
10×10 Array{Float64,2}:
 0.444444  0.222222  -4.2067e-17   -3.36103e-17  -2.68882e-17  -1.6263e-17   0.222222  0.444444  0.666667  0.666667
 0.666667  0.333333   1.2001e-17    1.76015e-17   2.2166e-17    3.73618e-17  0.333333  0.666667  1.0       1.0     
 0.666667  0.333333   7.16134e-18  -4.38646e-18  -1.23987e-17   5.42662e-18  0.333333  0.666667  1.0       1.0     
 0.666667  0.333333   1.02596e-17  -1.87054e-18  -2.61524e-17  -9.90934e-18  0.333333  0.666667  1.0       1.0     
 0.666667  0.333333  -6.72205e-18  -1.34441e-17  -2.81893e-17  -9.97466e-18  0.333333  0.666667  1.0       1.0     
 0.666667  0.333333  -7.60526e-18  -1.56433e-17  -1.8263e-17   -1.40152e-17  0.333333  0.666667  1.0       1.0     
 0.666667  0.333333   1.27474e-18  -1.35275e-19   1.58501e-17  -5.04181e-18  0.333333  0.666667  1.0       1.0     
 0.666667  0.333333   2.57827e-18   1.51142e-17   3.55402e-17  -7.30153e-18  0.333333  0.666667  1.0       1.0     
 0.666667  0.333333   1.30104e-18   3.62124e-17   5.63785e-17   1.88651e-17  0.333333  0.666667  1.0       1.0     
 0.444444  0.222222   3.31559e-17   6.51603e-17   7.79611e-17   5.92778e-17  0.222222  0.444444  0.666667  0.666667
zygmuntszpak commented 6 years ago

This may seem silly, but please could you try a few more things with the aforementioned minimal example. Instead of Fill could you try some of the other padding options, such as 'replicate' etc. Could you also please try specify different amounts of explicit padding for the various padding options, including the Fill option.

juliohm commented 6 years ago

Of course @zygmuntszpak , below are more comparisons between FIR() and FFT() implementations:

julia> imfilter(img, kern, Fill(1), Algorithm.FIR())
10×10 Array{Float64,2}:
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0

julia> imfilter(img, kern, Fill(1), Algorithm.FFT())
10×10 Array{Float64,2}:
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0

------------------------------------------------------------

julia> imfilter(img, kern, Fill(2), Algorithm.FIR())
10×10 Array{Float64,2}:
 1.55556  1.33333  1.33333  1.33333  …  1.33333  1.33333  1.33333  1.55556
 1.33333  1.0      1.0      1.0         1.0      1.0      1.0      1.33333
 1.33333  1.0      1.0      1.0         1.0      1.0      1.0      1.33333
 1.33333  1.0      1.0      1.0         1.0      1.0      1.0      1.33333
 1.33333  1.0      1.0      1.0         1.0      1.0      1.0      1.33333
 1.33333  1.0      1.0      1.0      …  1.0      1.0      1.0      1.33333
 1.33333  1.0      1.0      1.0         1.0      1.0      1.0      1.33333
 1.33333  1.0      1.0      1.0         1.0      1.0      1.0      1.33333
 1.33333  1.0      1.0      1.0         1.0      1.0      1.0      1.33333
 1.55556  1.33333  1.33333  1.33333     1.33333  1.33333  1.33333  1.55556

julia> imfilter(img, kern, Fill(2), Algorithm.FFT())
10×10 Array{Float64,2}:
 1.55556  1.77778  2.0  2.0  2.0  2.0  1.77778  1.55556  1.33333  1.33333
 1.33333  1.66667  2.0  2.0  2.0  2.0  1.66667  1.33333  1.0      1.0    
 1.33333  1.66667  2.0  2.0  2.0  2.0  1.66667  1.33333  1.0      1.0    
 1.33333  1.66667  2.0  2.0  2.0  2.0  1.66667  1.33333  1.0      1.0    
 1.33333  1.66667  2.0  2.0  2.0  2.0  1.66667  1.33333  1.0      1.0    
 1.33333  1.66667  2.0  2.0  2.0  2.0  1.66667  1.33333  1.0      1.0    
 1.33333  1.66667  2.0  2.0  2.0  2.0  1.66667  1.33333  1.0      1.0    
 1.33333  1.66667  2.0  2.0  2.0  2.0  1.66667  1.33333  1.0      1.0    
 1.33333  1.66667  2.0  2.0  2.0  2.0  1.66667  1.33333  1.0      1.0    
 1.55556  1.77778  2.0  2.0  2.0  2.0  1.77778  1.55556  1.33333  1.33333

------------------------------------------------------------

julia> imfilter(img, kern, "replicate", Algorithm.FIR())
10×10 Array{Float64,2}:
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0

julia> imfilter(img, kern, "replicate", Algorithm.FFT())
10×10 Array{Float64,2}:
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0

------------------------------------------------------------

julia> imfilter(img, kern, Inner(), Algorithm.FIR())
OffsetArrays.OffsetArray{Float64,2,Array{Float64,2}} with indices 2:9×2:9:
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0

julia> imfilter(img, kern, Inner(), Algorithm.FFT())
OffsetArrays.OffsetArray{Float64,2,Array{Float64,2}} with indices 2:9×2:9:
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0

------------------------------------------------------------

julia> imfilter(img, kern, NA(), Algorithm.FIR())
10×10 Array{Float64,2}:
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0

julia> imfilter(img, kern, NA(), Algorithm.FFT())
10×10 Array{Float64,2}:
 1.0  0.333333  -6.31006e-17  -5.04154e-17  -4.03323e-17  -2.43945e-17  0.333333  0.666667  1.0  1.5
 1.0  0.333333   1.2001e-17    1.76015e-17   2.2166e-17    3.73618e-17  0.333333  0.666667  1.0  1.5
 1.0  0.333333   7.16134e-18  -4.38646e-18  -1.23987e-17   5.42662e-18  0.333333  0.666667  1.0  1.5
 1.0  0.333333   1.02596e-17  -1.87054e-18  -2.61524e-17  -9.90934e-18  0.333333  0.666667  1.0  1.5
 1.0  0.333333  -6.72205e-18  -1.34441e-17  -2.81893e-17  -9.97466e-18  0.333333  0.666667  1.0  1.5
 1.0  0.333333  -7.60526e-18  -1.56433e-17  -1.8263e-17   -1.40152e-17  0.333333  0.666667  1.0  1.5
 1.0  0.333333   1.27474e-18  -1.35275e-19   1.58501e-17  -5.04181e-18  0.333333  0.666667  1.0  1.5
 1.0  0.333333   2.57827e-18   1.51142e-17   3.55402e-17  -7.30153e-18  0.333333  0.666667  1.0  1.5
 1.0  0.333333   1.30104e-18   3.62124e-17   5.63785e-17   1.88651e-17  0.333333  0.666667  1.0  1.5
 1.0  0.333333   4.97339e-17   9.77404e-17   1.16942e-16   8.89166e-17  0.333333  0.666667  1.0  1.5

------------------------------------------------------------

julia> imfilter(img, kern, Pad(:replicate,2,4), Algorithm.FIR())
10×10 Array{Float64,2}:
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0

julia> imfilter(img, kern, Pad(:replicate,2,4), Algorithm.FFT())
10×10 Array{Float64,2}:
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0

Please let me know if you would like to see a specific set of inputs and I will run it locally.

juliohm commented 6 years ago

The FFT is really handy, things are super slow on my end :cry:

Does anyone have a suggestion on what I could do to debug this issue further? Could you maybe share your Pkg.status() output to make sure we are on the same page?

Evizero commented 6 years ago

I'll take another closer look sometime tomorrow

zygmuntszpak commented 6 years ago

I get different results to you for the Fill(2) and the NA() examples above. Everything else is the same. In other words, everything works for me correctly and the only broken cases for you seem to be the Fill and the NA() types. On the other hand, the code that you mentioned

function imfilter_cpu{T<:Real,K<:Real,N}(img::AbstractArray{T,N}, kern::AbstractArray{K,N})
  imfilter(img, centered(kern), Inner(), Algorithm.FFT())
end

uses the Inner type which, apparently, is also broken?

I can't reproduce your bug :(.

Here is a dump of my Pkg.status() in case it is useful.

 Pkg.status()
18 required packages:
 - Atom                          0.6.12
 - BenchmarkTools                0.3.0
 - Compat                        0.64.0
 - Documenter                    0.17.0
 - HDF5                          0.8.8              29ac03e7 (dirty)
 - IJulia                        1.8.0
 - ImageDistances                0.0.2
 - ImageFeatures                 0.0.1+             hough_prob
 - ImageFiltering                0.3.0              fix_pad_offsetarray
 - ImageMagick                   0.5.1
 - ImageView                     0.6.0
 - Images                        0.13.0             boundaries
 - MAT                           0.4.0
 - PkgDev                        0.2.1
 - ProtoBuf                      0.5.0
 - TestImages                    0.2.0
 - ToeplitzMatrices              0.3.0
 - Traceur                       0.1.1
97 additional packages:
 - ASTInterpreter2               0.1.1
 - AbstractFFTs                  0.3.1
 - AxisAlgorithms                0.2.0
 - AxisArrays                    0.2.1
 - BinDeps                       0.8.8
 - BinaryProvider                0.3.0
 - Blink                         0.6.2
 - Blosc                         0.4.2
 - BufferedStreams               0.4.0
 - Cairo                         0.5.1
 - Calculus                      0.3.1
 - CatIndices                    0.1.0
 - CodeTools                     0.5.0
 - Codecs                        0.4.0
 - ColorTypes                    0.6.7
 - ColorVectorSpace              0.5.2
 - Colors                        0.8.2
 - ComputationalResources        0.2.0
 - Conda                         0.7.1
 - CoordinateTransformations     0.4.1
 - CustomUnitRanges              0.1.0
 - DataStructures                0.8.2
 - DebuggerFramework             0.1.2
 - Distances                     0.6.0
 - Distributions                 0.15.0
 - DocSeeker                     0.1.0
 - DocStringExtensions           0.4.4
 - DualNumbers                   0.3.0
 - FFTViews                      0.1.0
 - FFTW                          0.0.4
 - FileIO                        0.7.0
 - FixedPointNumbers             0.4.6
 - Graphics                      0.3.0
 - Gtk                           0.13.1
 - GtkReactive                   0.4.0
 - Hiccup                        0.1.1
 - HttpCommon                    0.4.0
 - HttpParser                    0.3.1
 - HttpServer                    0.3.1
 - IdentityRanges                0.1.0
 - ImageAxes                     0.4.0
 - ImageCore                     0.5.0
 - ImageMetadata                 0.4.0
 - ImageMorphology               0.0.2
 - ImageTracking                 0.0.0-             master (unregistered)
 - ImageTransformations          0.4.1
 - IndirectArrays                0.4.2
 - Interpolations                0.7.3
 - IntervalSets                  0.2.0
 - IterTools                     0.2.1
 - JSON                          0.17.2
 - Juno                          0.4.0
 - LNR                           0.0.2
 - Lazy                          0.12.0
 - Libz                          0.2.4
 - MacroTools                    0.4.0
 - MappedArrays                  0.0.7
 - MbedTLS                       0.5.8
 - Media                         0.3.0
 - Missings                      0.2.9
 - MultipleViewGeometry          0.0.0-             covariance_matrix (unregistered, dirty)
 - Mustache                      0.3.1
 - Mux                           0.2.3
 - NaNMath                       0.3.1
 - Nullables                     0.0.5
 - OffsetArrays                  0.5.0
 - PDMats                        0.8.0
 - PaddedViews                   0.3.0
 - ProgressMeter                 0.5.5
 - QuadGK                        0.2.1
 - RangeArrays                   0.2.0
 - Ratios                        0.2.0
 - Reactive                      0.6.0
 - Reexport                      0.1.0
 - Requires                      0.4.3
 - Rmath                         0.3.2
 - Rotations                     0.6.1
 - RoundingIntegers              0.0.3
 - SHA                           0.5.7
 - SIUnits                       0.1.0
 - ShowItLikeYouBuildIt          0.2.0
 - SimpleTraits                  0.6.0
 - SortingAlgorithms             0.2.1
 - SpecialFunctions              0.4.0
 - StaticArrays                  0.7.0
 - StatsBase                     0.22.0
 - StatsFuns                     0.6.0
 - StringDistances               0.2.0
 - TexExtensions                 0.1.0
 - TiledIteration                0.1.0
 - Tokenize                      0.4.2
 - URIParser                     0.3.1
 - Vinyl                         0.1.1
 - WebSockets                    0.4.0
 - WoodburyMatrices              0.2.2
 - ZMQ                           0.6.0
 - ZipFile                       0.5.0

I am on version 0.6.2 (the current official stable release). Have you tried running things on 0.6.2?

Evizero commented 6 years ago

Ok so I updated julia to

julia> versioninfo()
Julia Version 0.6.3-pre.1
Commit 41143e8* (2018-04-18 22:58 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, haswell)

but I still can't reproduce your error. so its probably not the julia update itself.

Here an excerpt of my Pkg.status()

77 required packages:
 - ArgParse                      0.5.0
 - BenchmarkTools                0.3.0
 - CUDAnative                    0.6.3
 - CUDNN                         0.4.0+             master
 - Clang                         0.6.1
 - Compat                        0.64.0
 - DistributedArrays             0.4.0
 - Distributions                 0.15.0
 - GeoStatsImages                0.2.0
 - GeometryTypes                 0.4.4
 - HDF5                          0.9.1
 - IJulia                        1.8.0
 - ImageDistances                0.0.2
 - ImageDraw                     0.0.1
 - ImageMagick                   0.5.1
 - ImageQuilting                 0.6.3
 - ImageView                     0.6.0
 - Images                        0.13.0
 - JLD                           0.8.3
 - MappedArrays                  0.0.7
 - OMETIFF                       0.1.1
 - PkgBenchmark                  0.1.1
 - PkgDev                        0.2.1
 - Revise                        0.1.1
 - SpecialFunctions              0.4.0
 - StaticArrays                  0.7.0
 - TestImages                    0.2.0
 - TiledIteration                0.1.0
 - Unitful                       0.7.1
196 additional packages:
 - AbstractFFTs                  0.3.1
 - AutoHashEquals                0.2.0
 - AxisAlgorithms                0.2.0
 - AxisArrays                    0.2.1
 - BinDeps                       0.8.8
 - BinaryProvider                0.3.0
 - Blosc                         0.4.2
 - CatIndices                    0.1.0
 - CategoricalArrays             0.3.9
 - CodecZlib                     0.4.3
 - Codecs                        0.4.0
 - ColorBrewer                   0.3.1
 - ColorTypes                    0.6.7
 - ColorVectorSpace              0.5.2
 - Colors                        0.8.2
 - CommonSubexpressions          0.1.0
 - ComputationalResources        0.2.0
 - CoordinateTransformations     0.4.1
 - CustomUnitRanges              0.1.0
 - DataStructures                0.8.2
 - Distances                     0.6.0
 - FFTViews                      0.1.0
 - FFTW                          0.0.4
 - FileIO                        0.7.0
 - FixedPointNumbers             0.4.6
 - Gtk                           0.13.1
 - GtkReactive                   0.4.0
 - IdentityRanges                0.1.0
 - ImageAxes                     0.4.0
 - ImageCore                     0.5.0+             master
 - ImageFiltering                0.3.0
 - ImageInTerminal               0.2.1+             master
 - ImageMetadata                 0.4.0
 - ImageMorphology               0.0.2
 - ImageTransformations          0.4.1              master
 - IndirectArrays                0.4.2
 - Interpolations                0.7.3
 - JLD2                          0.0.5
 - Libz                          0.2.4
 - Missings                      0.2.9
 - NaNMath                       0.3.1
 - Nullables                     0.0.5
 - OffsetArrays                  0.5.0
 - Packing                       0.1.0
 - PaddedViews                   0.3.0
 - PyCall                        1.16.1
 - RangeArrays                   0.2.0
 - Reexport                      0.1.0
 - Requests                      0.5.1
 - Requires                      0.4.3
 - Rmath                         0.3.2
 - Rotations                     0.6.1
 - RoundingIntegers              0.0.3
 - SIUnits                       0.1.0
 - ShowItLikeYouBuildIt          0.2.0
 - StatsBase                     0.22.0
juliohm commented 6 years ago

I tried looking into the imfilter code, but the dispatch is really evolved. If you had to guess a step where things could be going wrong, where would that be?

Based on the outputs above, the error only occurs with Fill and NA border options. What is it that these options do differently than the other border options?

Evizero commented 6 years ago

I am not quite sure how to proceed from here without the ability to replicate your error.

The code I would look at next would be https://github.com/JuliaImages/ImageFiltering.jl/blob/master/src/imfilter.jl#L1171-L1200 . I.e. trying to call _imfilter_fft! and filtfft directly

zygmuntszpak commented 6 years ago

@juliohm Please, could you post your Pkg.status() for which you get the error?

juliohm commented 6 years ago

Thank you @Evizero and @zygmuntszpak , I was in a conference this week, but will look into this again soon.

juliohm commented 6 years ago

@zygmuntszpak sorry for the huge delay, time is really scarce around here. Below is the raw output of my Pkg.status():

68 required packages:
 - Atom                          0.6.14
 - AverageShiftedHistograms      0.6.2
 - BenchmarkTools                0.3.1
 - BlackBoxOptim                 0.3.0
 - Bootstrap                     1.2.0              master
 - CLFFT                         0.5.2
 - Dates                         0.4.4
 - DecisionTree                  0.6.5
 - DirectGaussianSimulation      0.0.2              master
 - Documenter                    0.18.0
 - FastGaussQuadrature           0.3.0
 - GLM                           0.11.0
 - GLVisualize                   0.7.0+             master
 - GR                            0.31.0
 - GeoInterface                  0.3.1              master
 - GeoStats                      0.6.5              master
 - GeoStatsImages                0.2.0+             master
 - GitHub                        4.0.0
 - Glob                          1.1.1
 - GslibIO                       0.1.2              master
 - Gtk                           0.13.1
 - HTTP                          0.6.9
 - IJulia                        1.8.0
 - ImageQuilting                 0.6.4              master (dirty)
 - ImageSegmentation             0.0.2
 - ImageView                     0.6.0
 - Interact                      0.7.2              master
 - InverseDistanceWeighting      0.1.1              master
 - Ipopt                         0.3.0
 - JLD2                          0.0.5
 - JSON                          0.17.2
 - LightGraphs                   0.12.0
 - LightGraphsFlows              0.1.0
 - LightXML                      0.6.0
 - LocallyWeightedRegression     0.1.0              master
 - Logging                       0.3.1
 - Luxor                         0.10.5
 - MAT                           0.4.0
 - MarketData                    0.6.0+             master
 - MarketTechnicals              0.5.1+             master
 - Meshing                       0.3.1
 - MultivariateStats             0.4.0
 - NLopt                         0.3.6
 - NetCDF                        0.6.0
 - OhMyREPL                      0.2.11
 - OpenCL                        0.7.0+             master
 - Optim                         0.14.1
 - PGFPlots                      2.2.2
 - PkgBenchmark                  0.1.1              master
 - PkgDev                        0.2.1
 - PkgTemplates                  0.2.3
 - PlotThemes                    0.2.0
 - PlotlyJS                      0.10.2
 - Plots                         0.17.1
 - ProgressMeter                 0.5.5
 - ProtoBuf                      0.5.0
 - PyPlot                        2.5.0
 - RData                         0.4.0
 - Revise                        0.1.1
 - Roots                         0.6.0
 - StatPlots                     0.7.2
 - TestImages                    0.2.0
 - Traceur                       0.1.1
 - UnicodePlots                  0.2.6
 - VisualRegressionTests         0.1.0
 - VoronoiDelaunay               0.2.0
 - WAV                           0.9.0
 - WriteVTK                      0.7.2
193 additional packages:
 - ASTInterpreter2               0.1.1
 - AbstractFFTs                  0.3.1
 - AbstractNumbers               0.1.1
 - AutoHashEquals                0.2.0
 - AxisAlgorithms                0.2.0
 - AxisArrays                    0.2.1
 - BinDeps                       0.8.8
 - BinaryProvider                0.3.0
 - Blink                         0.6.2
 - Blosc                         0.5.0
 - BufferedStreams               0.4.0
 - CMakeWrapper                  0.1.0
 - CPUTime                       0.0.5
 - CSSUtil                       0.0.1              master
 - CSV                           0.2.4
 - Cairo                         0.5.1
 - Calculus                      0.4.0
 - CatIndices                    0.1.0
 - CategoricalArrays             0.3.9
 - Clustering                    0.9.1
 - CoDa                          0.0.1+             master
 - CodeTools                     0.5.0
 - CodecZlib                     0.4.3
 - Codecs                        0.4.0
 - ColorBrewer                   0.3.1
 - ColorTypes                    0.6.7
 - ColorVectorSpace              0.5.2
 - Colors                        0.8.2
 - Combinatorics                 0.6.0
 - CommonSubexpressions          0.1.0
 - Compat                        0.66.0
 - ComputationalResources        0.2.0
 - Conda                         0.7.1
 - Contour                       0.4.0
 - CoordinateTransformations     0.4.1
 - Crayons                       0.4.1
 - CustomUnitRanges              0.1.0
 - DataFrames                    0.11.6
 - DataStreams                   0.3.4
 - DataStructures                0.8.3
 - DataValues                    0.3.3
 - DebuggerFramework             0.1.2
 - DiffEqDiffTools               0.4.1
 - DiffResults                   0.0.3
 - DiffRules                     0.0.4
 - Discretizers                  2.1.0
 - Distances                     0.6.0
 - Distributions                 0.15.0
 - DocSeeker                     0.1.0
 - DocStringExtensions           0.4.4
 - DualNumbers                   0.3.0
 - ECOS                          0.8.0
 - ExtremeStats                  0.0.2+             master
 - FFTViews                      0.1.0
 - FFTW                          0.0.4
 - FileIO                        0.9.0
 - FixedPointNumbers             0.4.6
 - Fontconfig                    0.1.1
 - Formatting                    0.3.2
 - ForwardDiff                   0.7.5
 - FreeType                      2.0.0
 - FreeTypeAbstraction           0.1.0
 - FunctionalCollections         0.3.2
 - GLAbstraction                 0.6.1
 - GLFW                          2.0.0-alpha
 - GLWindow                      0.7.1
 - GeneralizedLinearModel        0.0.0-             master (unregistered, dirty)
 - GeoStatsBase                  0.1.2              master
 - GeoStatsDevTools              0.1.6              master
 - GeometricalPredicates         0.1.0
 - GeometryTypes                 0.4.4
 - Graphics                      0.3.0
 - GtkReactive                   0.4.0
 - HDF5                          0.9.2
 - Hiccup                        0.1.1
 - HttpCommon                    0.4.0
 - HttpParser                    0.3.1
 - HttpServer                    0.3.1
 - Hwloc                         0.6.2
 - IdentityRanges                0.1.0
 - ImageAxes                     0.4.0
 - ImageCore                     0.5.0
 - ImageDistances                0.0.2+             master
 - ImageFiltering                0.3.0
 - ImageInpainting               0.0.2              master
 - ImageMagick                   0.5.1
 - ImageMetadata                 0.4.0
 - ImageMorphology               0.0.2
 - ImageTransformations          0.4.1
 - Images                        0.13.0
 - IndirectArrays                0.4.2
 - IniFile                       0.4.0
 - InteractNext                  0.0.0-             master (unregistered)
 - Interpolations                0.7.3
 - IntervalSets                  0.2.0
 - IterTools                     0.2.1
 - IterableTables                0.7.1
 - IteratorInterfaceExtensions   0.0.2
 - JSExpr                        0.1.1
 - JuMP                          0.18.1
 - Juno                          0.4.1
 - KernelDensity                 0.4.1
 - KrigingEstimators             0.0.2              master
 - LNR                           0.0.2
 - LaTeXStrings                  0.3.0
 - Lazy                          0.12.0
 - Libz                          0.2.4
 - LineSearches                  3.2.5
 - MacroTools                    0.4.0
 - Makie                         0.0.0-             master (unregistered)
 - MapTiles                      0.0.0-             master (unregistered)
 - MappedArrays                  0.0.7
 - MathProgBase                  0.7.1
 - MbedTLS                       0.5.9
 - Measures                      0.2.0
 - Media                         0.3.0
 - MeshCat                       0.1.2              master
 - MeshIO                        0.1.3
 - Missings                      0.2.9
 - Mocking                       0.5.2
 - ModernGL                      0.2.1
 - MsgPack                       0.1.1
 - Mustache                      0.3.2
 - Mux                           0.2.3
 - NLSolversBase                 4.4.1
 - NaNMath                       0.3.1
 - NamedTuples                   4.0.2
 - NearestNeighbors              0.3.0
 - Nullables                     0.0.5
 - Observables                   0.1.0              master
 - OffsetArrays                  0.5.0
 - PDMats                        0.8.0
 - Packing                       0.1.0
 - PaddedViews                   0.3.0
 - Parameters                    0.8.1
 - PlotUtils                     0.4.4
 - PlotlyBase                    0.1.1
 - Polynomials                   0.3.0
 - PositiveFactorizations        0.1.0
 - Primes                        0.3.0
 - PyCall                        1.16.1
 - QuadGK                        0.2.1
 - Quaternions                   0.3.0
 - RangeArrays                   0.2.0
 - Ratios                        0.2.0
 - Reactive                      0.6.0
 - RecipesBase                   0.3.1
 - Reexport                      0.1.0
 - RegionTrees                   0.1.0
 - Requests                      0.5.1
 - Requires                      0.4.3
 - ReverseDiffSparse             0.8.1
 - Rmath                         0.3.3
 - Rotations                     0.7.0
 - RoundingIntegers              0.0.3
 - SHA                           0.5.7
 - SIUnits                       0.1.0
 - ScikitLearnBase               0.3.0
 - ShowItLikeYouBuildIt          0.2.0
 - Showoff                       0.2.0
 - SignedDistanceFields          0.2.0
 - SimpleTraits                  0.6.0
 - SimpleWeightedGraphs          0.4.0
 - SortingAlgorithms             0.2.1
 - SpecialFunctions              0.4.0
 - StaticArrays                  0.7.0
 - StatsBase                     0.23.0
 - StatsFuns                     0.6.0
 - StatsModels                   0.2.3
 - StratiGraphics                0.0.0-             master (unregistered, dirty)
 - StringDistances               0.2.1
 - TableTraits                   0.2.0
 - TableTraitsUtils              0.1.3
 - TerminalMenus                 0.0.4
 - TexExtensions                 0.1.0
 - TikzPictures                  1.2.0
 - TiledIteration                0.1.0
 - TimeSeries                    0.11.1
 - TimeZones                     0.7.0
 - Tokenize                      0.4.2
 - TranscodingStreams            0.5.2
 - URIParser                     0.3.1
 - UnicodeFun                    0.2.0
 - Variography                   0.1.0              master
 - VersionParsing                1.1.0
 - Vinyl                         0.1.1
 - Vue                           0.1.0              master
 - WeakRefStrings                0.4.6
 - WebIO                         0.1.10+            master
 - WebSockets                    0.4.0
 - WoodburyMatrices              0.2.2
 - ZMQ                           0.6.1
 - ZipFile                       0.5.0

The FFT implementation by @timholy is very advanced to grasp, I tried hard to find time to go over it. Will devote more time today. We would ideally fix this bug before migrating to Julia v0.7, it is very serious.

juliohm commented 6 years ago

I am almost sure that the bug must be in one of these two lines:

I will investigate the FFTViews.jl package, maybe the issue is there.

juliohm commented 6 years ago

Bingo! The tests are failing for FFTViews.jl on my machine. If you are familiar with the package, please give some help. This is the output of failed tests:

julia> Pkg.test("FFTViews")
INFO: Computing test dependencies for FFTViews...
INFO: No packages to install, update or remove
INFO: Testing FFTViews
Test Summary: | Pass  Total
basics        |   18     18
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ p
   Evaluated: [0.912156, 0.290314, 0.254859, 0.426375, 0.866378, 0.729202, 0.599299, 0.556844] ≈ [0.912156, 0.556844, 0.599299, 0.729202, 0.866378, 0.426375, 0.254859, 0.290314]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:55 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, -1)
   Evaluated: [0.556844, 0.912156, 0.290314, 0.254859, 0.426375, 0.866378, 0.729202, 0.599299] ≈ [0.556844, 0.599299, 0.729202, 0.866378, 0.426375, 0.254859, 0.290314, 0.912156]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:59 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, 1)
   Evaluated: [0.290314, 0.254859, 0.426375, 0.866378, 0.729202, 0.599299, 0.556844, 0.912156] ≈ [0.290314, 0.912156, 0.556844, 0.599299, 0.729202, 0.866378, 0.426375, 0.254859]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:63 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ p
   Evaluated: [0.602383, 0.74608, 0.336743, 0.164515, 0.450074, 0.0221624, 0.555303, 0.440292, 0.144485] ≈ [0.602383, 0.144485, 0.440292, 0.555303, 0.0221624, 0.450074, 0.164515, 0.336743, 0.74608]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:55 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, -1)
   Evaluated: [0.144485, 0.602383, 0.74608, 0.336743, 0.164515, 0.450074, 0.0221624, 0.555303, 0.440292] ≈ [0.144485, 0.440292, 0.555303, 0.0221624, 0.450074, 0.164515, 0.336743, 0.74608, 0.602383]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:59 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, 1)
   Evaluated: [0.74608, 0.336743, 0.164515, 0.450074, 0.0221624, 0.555303, 0.440292, 0.144485, 0.602383] ≈ [0.74608, 0.602383, 0.144485, 0.440292, 0.555303, 0.0221624, 0.450074, 0.164515, 0.336743]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:63 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.568998 0.439233 0.786327 0.406353 0.52296 0.856881 0.634577 0.249957; 0.598743 0.317185 0.521091 0.403481 0.926632 0.888771 0.635427 0.252326; 0.691867 0.973961 0.816963 0.808397 0.662742 0.630976 0.555335 0.936767; 0.0828907 0.239602 0.149169 0.00396475 0.608567 0.130396 0.167883 0.639358; 0.730426 0.212595 0.793403 0.115942 0.530864 0.679833 0.170786 0.63193; 0.575403 0.353587 0.779422 0.440981 0.799474 0.514455 0.394638 0.0479766; 0.178346 0.28001 0.326827 0.0665507 0.125262 0.714421 0.232671 0.888552; 0.124787 0.684105 0.63493 0.757956 0.125722 0.851273 0.857562 0.201562] ≈ [0.568998 0.249957 0.634577 0.856881 0.52296 0.406353 0.786327 0.439233; 0.124787 0.201562 0.857562 0.851273 0.125722 0.757956 0.63493 0.684105; 0.178346 0.888552 0.232671 0.714421 0.125262 0.0665507 0.326827 0.28001; 0.575403 0.0479766 0.394638 0.514455 0.799474 0.440981 0.779422 0.353587; 0.730426 0.63193 0.170786 0.679833 0.530864 0.115942 0.793403 0.212595; 0.0828907 0.639358 0.167883 0.130396 0.608567 0.00396475 0.149169 0.239602; 0.691867 0.936767 0.555335 0.630976 0.662742 0.808397 0.816963 0.973961; 0.598743 0.252326 0.635427 0.888771 0.926632 0.403481 0.521091 0.317185]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.124787 0.475263 0.689078 0.561969 0.125722 1.04726 0.803414 0.410404; 0.568998 0.363192 0.841266 0.720327 0.52296 0.542906 0.579638 0.325998; 0.598743 0.0848774 0.568902 0.582911 0.926632 0.709341 0.587616 0.484633; 0.691867 0.745697 0.997458 0.437741 0.662742 1.00163 0.37484 1.16503; 0.0828907 0.592285 0.350918 0.0304433 0.608567 0.103917 -0.033866 0.286674; 0.730426 0.117991 0.529173 0.0739523 0.530864 0.721823 0.435017 0.726534; 0.575403 0.442053 0.475714 0.43106 0.799474 0.524376 0.698346 -0.0404894; 0.178346 0.678919 0.355624 0.165222 0.125262 0.61575 0.203874 0.489642] ≈ [0.124787 0.201562 0.857562 0.851273 0.125722 0.757956 0.63493 0.684105; 0.178346 0.888552 0.232671 0.714421 0.125262 0.0665507 0.326827 0.28001; 0.575403 0.0479766 0.394638 0.514455 0.799474 0.440981 0.779422 0.353587; 0.730426 0.63193 0.170786 0.679833 0.530864 0.115942 0.793403 0.212595; 0.0828907 0.639358 0.167883 0.130396 0.608567 0.00396475 0.149169 0.239602; 0.691867 0.936767 0.555335 0.630976 0.662742 0.808397 0.816963 0.973961; 0.598743 0.252326 0.635427 0.888771 0.926632 0.403481 0.521091 0.317185; 0.568998 0.249957 0.634577 0.856881 0.52296 0.406353 0.786327 0.439233]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.249957 0.568998 0.439233 0.786327 0.406353 0.52296 0.856881 0.634577; 0.0434839 0.304846 0.323407 0.978466 0.599468 0.41511 0.895404 0.983473; 1.25964 0.680174 0.997908 0.840635 0.395751 0.555334 0.696806 0.650764; 0.286674 0.0140205 0.0780866 0.368842 0.0304433 0.590643 0.618116 0.0350042; 0.63193 0.730426 0.212595 0.793403 0.115942 0.530864 0.679833 0.170786; 0.40066 0.644273 0.515103 0.559749 0.414503 0.817398 0.0267347 0.527516; 0.565684 0.190038 0.256062 0.303155 0.479196 0.23267 0.648591 0.137242; 0.410404 0.418684 0.677883 0.177555 0.561969 0.637245 0.84464 0.509516] ≈ [0.249957 0.634577 0.856881 0.52296 0.406353 0.786327 0.439233 0.568998; 0.201562 0.857562 0.851273 0.125722 0.757956 0.63493 0.684105 0.124787; 0.888552 0.232671 0.714421 0.125262 0.0665507 0.326827 0.28001 0.178346; 0.0479766 0.394638 0.514455 0.799474 0.440981 0.779422 0.353587 0.575403; 0.63193 0.170786 0.679833 0.530864 0.115942 0.793403 0.212595 0.730426; 0.639358 0.167883 0.130396 0.608567 0.00396475 0.149169 0.239602 0.0828907; 0.936767 0.555335 0.630976 0.662742 0.808397 0.816963 0.973961 0.691867; 0.252326 0.635427 0.888771 0.926632 0.403481 0.521091 0.317185 0.598743]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.201562 0.472832 0.481896 0.177555 0.757956 0.583096 1.05348 0.509516; 0.648866 0.610866 0.408081 0.799398 0.307682 0.481092 0.587795 0.621506; 0.13195 0.176897 0.247774 1.15423 0.609389 0.543058 0.872649 0.807713; 1.16503 0.638306 0.724755 1.063 0.437741 0.597202 1.02257 0.428401; 0.639358 0.215769 0.104565 0.368842 0.00396475 0.388894 0.265433 0.0350042; 0.403666 0.688558 0.0731024 0.571041 0.486598 0.572732 0.676934 0.393149; 0.168352 0.516325 0.760244 0.383989 0.235073 0.945346 0.193331 0.703276; 0.489642 0.231906 0.699861 0.290084 0.165222 0.190802 0.594809 0.150313] ≈ [0.201562 0.857562 0.851273 0.125722 0.757956 0.63493 0.684105 0.124787; 0.888552 0.232671 0.714421 0.125262 0.0665507 0.326827 0.28001 0.178346; 0.0479766 0.394638 0.514455 0.799474 0.440981 0.779422 0.353587 0.575403; 0.63193 0.170786 0.679833 0.530864 0.115942 0.793403 0.212595 0.730426; 0.639358 0.167883 0.130396 0.608567 0.00396475 0.149169 0.239602 0.0828907; 0.936767 0.555335 0.630976 0.662742 0.808397 0.816963 0.973961 0.691867; 0.252326 0.635427 0.888771 0.926632 0.403481 0.521091 0.317185 0.598743; 0.249957 0.634577 0.856881 0.52296 0.406353 0.786327 0.439233 0.568998]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.598743 0.526027 0.466943 0.599468 0.926632 0.692784 0.689575 0.0434839; 0.691867 1.05 0.762024 0.494422 0.662742 0.94495 0.610274 0.860726; 0.0828907 0.47191 0.101358 -0.175465 0.608567 0.309825 0.215694 0.40705; 0.730426 0.440859 0.612909 0.486598 0.530864 0.309177 0.351281 0.403666; 0.575403 0.000904081 0.577673 0.414503 0.799474 0.540933 0.596387 0.40066; 0.178346 0.374613 0.591058 0.108541 0.125262 0.672431 -0.0315596 0.793949; 0.124787 0.595639 0.938638 0.767878 0.125722 0.841352 0.553854 0.290028; 0.568998 0.0403237 0.75753 0.307682 0.52296 0.955552 0.663374 0.648866] ≈ [0.598743 0.252326 0.635427 0.888771 0.926632 0.403481 0.521091 0.317185; 0.568998 0.249957 0.634577 0.856881 0.52296 0.406353 0.786327 0.439233; 0.124787 0.201562 0.857562 0.851273 0.125722 0.757956 0.63493 0.684105; 0.178346 0.888552 0.232671 0.714421 0.125262 0.0665507 0.326827 0.28001; 0.575403 0.0479766 0.394638 0.514455 0.799474 0.440981 0.779422 0.353587; 0.730426 0.63193 0.170786 0.679833 0.530864 0.115942 0.793403 0.212595; 0.0828907 0.639358 0.167883 0.130396 0.608567 0.00396475 0.149169 0.239602; 0.691867 0.936767 0.555335 0.630976 0.662742 0.808397 0.816963 0.973961]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.439233 0.786327 0.406353 0.52296 0.856881 0.634577 0.249957 0.568998; 0.526027 0.814989 0.397259 0.469258 0.692784 1.14695 0.245693 0.250697; 0.651093 0.828656 0.784449 0.63907 1.04362 0.662743 0.870937 0.596438; 0.592285 0.218039 0.16548 0.388894 0.103917 0.185807 0.151638 0.215769; 0.212595 0.793403 0.115942 0.530864 0.679833 0.170786 0.63193 0.730426; 0.000904081 0.710552 0.279466 1.01915 0.540933 0.376714 0.535697 0.442524; 0.602878 0.315134 0.0904981 0.148934 0.301775 0.125263 0.954382 0.273774; 0.475263 0.341032 0.764179 0.583096 1.04726 0.346039 0.208195 0.472832] ≈ [0.439233 0.568998 0.249957 0.634577 0.856881 0.52296 0.406353 0.786327; 0.684105 0.124787 0.201562 0.857562 0.851273 0.125722 0.757956 0.63493; 0.28001 0.178346 0.888552 0.232671 0.714421 0.125262 0.0665507 0.326827; 0.353587 0.575403 0.0479766 0.394638 0.514455 0.799474 0.440981 0.779422; 0.212595 0.730426 0.63193 0.170786 0.679833 0.530864 0.115942 0.793403; 0.239602 0.0828907 0.639358 0.167883 0.130396 0.608567 0.00396475 0.149169; 0.973961 0.691867 0.936767 0.555335 0.630976 0.662742 0.808397 0.816963; 0.317185 0.598743 0.252326 0.635427 0.888771 0.926632 0.403481 0.521091]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.317185 0.814989 0.606101 0.41511 0.888771 1.14695 0.049706 0.304846; 1.05 0.815585 0.515364 0.597202 0.94495 0.675814 0.839784 0.638306; 0.680751 0.0422799 0.142725 0.516843 0.113838 0.361567 0.076005 0.0878208; 0.117991 0.571041 0.441709 0.572732 0.721823 0.393149 0.358777 0.688558; 0.353587 0.710552 -0.0732177 0.817398 0.514455 0.376714 0.562175 0.644273; 0.374613 0.537497 0.0875995 0.190802 0.672431 -0.0970992 0.81489 0.231906; 0.242955 0.516792 0.930775 0.711045 0.86783 0.17028 0.453336 0.344884; 0.363192 0.799398 0.35257 0.481092 0.542906 0.621506 0.693755 0.610866] ≈ [0.317185 0.598743 0.252326 0.635427 0.888771 0.926632 0.403481 0.521091; 0.439233 0.568998 0.249957 0.634577 0.856881 0.52296 0.406353 0.786327; 0.684105 0.124787 0.201562 0.857562 0.851273 0.125722 0.757956 0.63493; 0.28001 0.178346 0.888552 0.232671 0.714421 0.125262 0.0665507 0.326827; 0.353587 0.575403 0.0479766 0.394638 0.514455 0.799474 0.440981 0.779422; 0.212595 0.730426 0.63193 0.170786 0.679833 0.530864 0.115942 0.793403; 0.239602 0.0828907 0.639358 0.167883 0.130396 0.608567 0.00396475 0.149169; 0.973961 0.691867 0.936767 0.555335 0.630976 0.662742 0.808397 0.816963]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.252326 0.250697 0.519394 0.978466 0.403481 0.469258 0.686562 0.983473; 0.860726 0.638306 1.02906 0.827564 0.494422 0.597202 0.965892 0.663835; 0.198208 0.141969 0.153719 0.193083 0.020522 0.462695 0.640871 0.210764; 0.726534 0.772294 0.485748 0.571041 0.0739523 0.488996 0.354066 0.393149; 0.0479766 0.442524 0.488624 0.559749 0.440981 1.01915 0.379418 0.527516; 0.793949 0.231906 0.395555 0.525518 0.108541 0.190802 0.65149 -0.0851202; 0.642711 0.546633 0.432742 0.353315 0.741399 0.509296 0.678044 0.333757; 0.325998 0.52713 -0.00456508 0.799398 0.720327 0.564828 0.910663 0.621506] ≈ [0.252326 0.635427 0.888771 0.926632 0.403481 0.521091 0.317185 0.598743; 0.249957 0.634577 0.856881 0.52296 0.406353 0.786327 0.439233 0.568998; 0.201562 0.857562 0.851273 0.125722 0.757956 0.63493 0.684105 0.124787; 0.888552 0.232671 0.714421 0.125262 0.0665507 0.326827 0.28001 0.178346; 0.0479766 0.394638 0.514455 0.799474 0.440981 0.779422 0.353587 0.575403; 0.63193 0.170786 0.679833 0.530864 0.115942 0.793403 0.212595 0.730426; 0.639358 0.167883 0.130396 0.608567 0.00396475 0.149169 0.239602 0.0828907; 0.936767 0.555335 0.630976 0.662742 0.808397 0.816963 0.973961 0.691867]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.684105 0.341032 0.555337 0.637245 0.851273 0.346039 0.404182 0.418684; 0.0403237 0.799398 0.675439 0.564828 0.955552 0.621506 0.281109 0.52713; 0.437561 0.990749 0.420013 0.341309 0.682863 0.97119 0.321325 0.378646; 0.745697 1.05102 0.458683 0.597202 1.00163 0.44038 1.14409 0.638306; 0.239602 0.218039 0.518164 0.590643 0.130396 0.185807 0.125159 0.0140205; 0.440859 0.571041 0.118841 0.488996 0.309177 0.393149 0.771423 0.772294; 0.233212 0.534792 0.112869 0.891198 0.720363 0.552473 0.290556 0.570473; 0.678919 0.302063 0.14428 0.190802 0.61575 0.138334 0.510584 0.231906] ≈ [0.684105 0.124787 0.201562 0.857562 0.851273 0.125722 0.757956 0.63493; 0.28001 0.178346 0.888552 0.232671 0.714421 0.125262 0.0665507 0.326827; 0.353587 0.575403 0.0479766 0.394638 0.514455 0.799474 0.440981 0.779422; 0.212595 0.730426 0.63193 0.170786 0.679833 0.530864 0.115942 0.793403; 0.239602 0.0828907 0.639358 0.167883 0.130396 0.608567 0.00396475 0.149169; 0.973961 0.691867 0.936767 0.555335 0.630976 0.662742 0.808397 0.816963; 0.317185 0.598743 0.252326 0.635427 0.888771 0.926632 0.403481 0.521091; 0.439233 0.568998 0.249957 0.634577 0.856881 0.52296 0.406353 0.786327]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.00396475 0.388894 0.265433 0.0350042 0.639358 0.215769 0.104565 0.368842; 0.486598 0.572732 0.676934 0.393149 0.403666 0.688558 0.0731024 0.571041; 0.235073 0.945346 0.193331 0.703276 0.168352 0.516325 0.760244 0.383989; 0.165222 0.190802 0.594809 0.150313 0.489642 0.231906 0.699861 0.290084; 0.757956 0.583096 1.05348 0.509516 0.201562 0.472832 0.481896 0.177555; 0.307682 0.481092 0.587795 0.621506 0.648866 0.610866 0.408081 0.799398; 0.609389 0.543058 0.872649 0.807713 0.13195 0.176897 0.247774 1.15423; 0.437741 0.597202 1.02257 0.428401 1.16503 0.638306 0.724755 1.063] ≈ [0.00396475 0.149169 0.239602 0.0828907 0.639358 0.167883 0.130396 0.608567; 0.808397 0.816963 0.973961 0.691867 0.936767 0.555335 0.630976 0.662742; 0.403481 0.521091 0.317185 0.598743 0.252326 0.635427 0.888771 0.926632; 0.406353 0.786327 0.439233 0.568998 0.249957 0.634577 0.856881 0.52296; 0.757956 0.63493 0.684105 0.124787 0.201562 0.857562 0.851273 0.125722; 0.0665507 0.326827 0.28001 0.178346 0.888552 0.232671 0.714421 0.125262; 0.440981 0.779422 0.353587 0.575403 0.0479766 0.394638 0.514455 0.799474; 0.115942 0.793403 0.212595 0.730426 0.63193 0.170786 0.679833 0.530864]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.521091 0.397259 0.763155 0.895404 0.635427 0.245693 0.76222 0.323407; 0.762024 0.515364 0.650763 0.965892 0.610274 0.839784 0.703846 1.02906; 0.04721 0.351567 0.457764 0.432029 0.269842 -0.119982 0.233693 0.349706; 0.529173 0.118841 0.530864 0.676934 0.435017 0.771423 0.730426 0.0731024; 0.779422 0.279466 0.950277 0.0267347 0.394638 0.535697 0.4246 0.515103; 0.591058 0.0875995 0.137241 0.65149 -0.0315596 0.81489 0.166367 0.395555; 0.736889 0.578091 0.289199 1.03073 0.755603 0.479814 -0.0386905 0.406263; 0.841266 0.675439 0.52296 0.587795 0.579638 0.281109 0.568998 0.408081] ≈ [0.521091 0.317185 0.598743 0.252326 0.635427 0.888771 0.926632 0.403481; 0.786327 0.439233 0.568998 0.249957 0.634577 0.856881 0.52296 0.406353; 0.63493 0.684105 0.124787 0.201562 0.857562 0.851273 0.125722 0.757956; 0.326827 0.28001 0.178346 0.888552 0.232671 0.714421 0.125262 0.0665507; 0.779422 0.353587 0.575403 0.0479766 0.394638 0.514455 0.799474 0.440981; 0.793403 0.212595 0.730426 0.63193 0.170786 0.679833 0.530864 0.115942; 0.149169 0.239602 0.0828907 0.639358 0.167883 0.130396 0.608567 0.00396475; 0.816963 0.973961 0.691867 0.936767 0.555335 0.630976 0.662742 0.808397]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.267005 0.902309 0.506921 0.6401 0.734708 0.699976 0.627909 0.812809; 0.146682 0.502832 0.883679 0.58145 0.131971 0.756417 0.4707 0.493073; 0.135113 0.32157 0.979105 0.113284 0.459783 0.631959 0.97791 0.103647; 0.922111 0.706139 0.348887 0.130853 0.896269 0.472697 0.0878708 0.0743361; 0.490003 0.21747 0.593264 0.169835 0.779546 0.227345 0.976797 0.0925948; 0.235559 0.515026 0.0659326 0.741729 0.417845 0.681345 0.0960774 0.570826; 0.115859 0.709892 0.707269 0.218512 0.341368 0.264443 0.682975 0.0351164; 0.461218 0.831096 0.335954 0.859006 0.18857 0.821122 0.490835 0.453559; 0.0146669 0.244711 0.750799 0.958796 0.179369 0.0299981 0.94267 0.124691] ≈ [0.267005 0.812809 0.627909 0.699976 0.734708 0.6401 0.506921 0.902309; 0.0146669 0.124691 0.94267 0.0299981 0.179369 0.958796 0.750799 0.244711; 0.461218 0.453559 0.490835 0.821122 0.18857 0.859006 0.335954 0.831096; 0.115859 0.0351164 0.682975 0.264443 0.341368 0.218512 0.707269 0.709892; 0.235559 0.570826 0.0960774 0.681345 0.417845 0.741729 0.0659326 0.515026; 0.490003 0.0925948 0.976797 0.227345 0.779546 0.169835 0.593264 0.21747; 0.922111 0.0743361 0.0878708 0.472697 0.896269 0.130853 0.348887 0.706139; 0.135113 0.103647 0.97791 0.631959 0.459783 0.113284 0.979105 0.32157; 0.146682 0.493073 0.4707 0.756417 0.131971 0.58145 0.883679 0.502832]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.0146669 0.18958 1.05322 0.406913 0.179369 0.581881 0.640245 0.179821; 0.267005 0.96652 0.568012 0.4107 0.734708 0.929375 0.566817 0.748598; 0.146682 0.813854 0.807697 0.498011 0.131971 0.839855 0.546681 0.182051; 0.135113 0.275046 0.786741 0.343866 0.459783 0.401377 1.17027 0.150171; 0.922111 0.362337 0.203307 0.331967 0.896269 0.271583 0.233451 0.418138; 0.490003 0.49242 0.797177 0.175625 0.779546 0.221556 0.772884 -0.182355; 0.235559 0.731695 0.00356418 0.730479 0.417845 0.692595 0.158446 0.354157; 0.115859 0.432514 0.599186 0.705876 0.341368 -0.222921 0.791057 0.312494; 0.461218 0.687078 0.352901 0.810126 0.18857 0.870002 0.473888 0.597578] ≈ [0.0146669 0.124691 0.94267 0.0299981 0.179369 0.958796 0.750799 0.244711; 0.461218 0.453559 0.490835 0.821122 0.18857 0.859006 0.335954 0.831096; 0.115859 0.0351164 0.682975 0.264443 0.341368 0.218512 0.707269 0.709892; 0.235559 0.570826 0.0960774 0.681345 0.417845 0.741729 0.0659326 0.515026; 0.490003 0.0925948 0.976797 0.227345 0.779546 0.169835 0.593264 0.21747; 0.922111 0.0743361 0.0878708 0.472697 0.896269 0.130853 0.348887 0.706139; 0.135113 0.103647 0.97791 0.631959 0.459783 0.113284 0.979105 0.32157; 0.146682 0.493073 0.4707 0.756417 0.131971 0.58145 0.883679 0.502832; 0.267005 0.812809 0.627909 0.699976 0.734708 0.6401 0.506921 0.902309]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.812809 0.267005 0.902309 0.506921 0.6401 0.734708 0.699976 0.627909; 0.437942 0.147114 0.185099 0.79354 1.13333 -0.0803154 0.577399 0.772692; 0.0238398 0.619741 0.203472 0.793136 0.391564 0.567714 0.551585 0.57132; 0.0528499 0.339794 0.664186 0.805528 0.278809 0.321267 0.38818 0.788549; 0.182933 0.626446 0.0803009 0.510448 0.228782 1.03906 0.21523 0.663659; 0.480488 0.0991152 0.652195 0.148748 0.682782 0.158336 0.693461 0.409216; 0.0566027 0.698176 0.751844 0.250627 0.0705554 0.916371 0.34896 -0.017703; 0.533366 -0.0234102 0.949194 0.521923 0.580727 0.0806389 0.901496 0.897425; 0.179821 0.0142343 0.562445 0.840938 0.406913 0.391655 0.209016 0.640678] ≈ [0.812809 0.627909 0.699976 0.734708 0.6401 0.506921 0.902309 0.267005; 0.124691 0.94267 0.0299981 0.179369 0.958796 0.750799 0.244711 0.0146669; 0.453559 0.490835 0.821122 0.18857 0.859006 0.335954 0.831096 0.461218; 0.0351164 0.682975 0.264443 0.341368 0.218512 0.707269 0.709892 0.115859; 0.570826 0.0960774 0.681345 0.417845 0.741729 0.0659326 0.515026 0.235559; 0.0925948 0.976797 0.227345 0.779546 0.169835 0.593264 0.21747 0.490003; 0.0743361 0.0878708 0.472697 0.896269 0.130853 0.348887 0.706139 0.922111; 0.103647 0.97791 0.631959 0.459783 0.113284 0.979105 0.32157 0.135113; 0.493073 0.4707 0.756417 0.131971 0.58145 0.883679 0.502832 0.146682]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.124691 0.316659 0.0105622 0.840938 0.958796 0.0892297 0.264147 0.640678; 0.66879 0.306024 0.867284 0.528993 0.68898 0.695689 0.830139 0.605837; 0.160565 0.0550824 0.681261 0.80959 0.645968 0.0117165 0.845978 0.756642; 0.240509 0.492375 0.181542 0.728138 0.402814 0.69508 0.345596 0.636318; 0.3278 0.368961 0.458262 0.630781 0.27302 0.2921 0.324943 0.963296; -0.160869 0.655613 0.493128 0.685196 0.0276683 1.00989 0.347318 0.488912; 0.433965 -0.0282512 0.893457 0.213746 0.4522 0.285702 0.729304 0.344218; 0.367625 0.606144 0.659608 0.234577 0.153994 1.0084 0.0467364 -0.00165248; 0.597578 0.015609 0.705939 0.49985 0.810126 0.0416197 0.851141 0.919497] ≈ [0.124691 0.94267 0.0299981 0.179369 0.958796 0.750799 0.244711 0.0146669; 0.453559 0.490835 0.821122 0.18857 0.859006 0.335954 0.831096 0.461218; 0.0351164 0.682975 0.264443 0.341368 0.218512 0.707269 0.709892 0.115859; 0.570826 0.0960774 0.681345 0.417845 0.741729 0.0659326 0.515026 0.235559; 0.0925948 0.976797 0.227345 0.779546 0.169835 0.593264 0.21747 0.490003; 0.0743361 0.0878708 0.472697 0.896269 0.130853 0.348887 0.706139 0.922111; 0.103647 0.97791 0.631959 0.459783 0.113284 0.979105 0.32157 0.135113; 0.493073 0.4707 0.756417 0.131971 0.58145 0.883679 0.502832 0.146682; 0.812809 0.627909 0.699976 0.734708 0.6401 0.506921 0.902309 0.267005]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.146682 0.557963 0.581254 1.13333 0.131971 0.204535 0.773125 0.437942; 0.135113 0.257359 0.918014 0.342683 0.459783 0.40256 1.039 0.167858; 0.922111 0.395117 0.424868 0.214292 0.896269 0.389259 0.0118895 0.385358; 0.490003 0.263994 0.785628 -0.0607471 0.779546 0.457928 0.784433 0.0460715; 0.235559 0.858827 0.211513 0.540615 0.417845 0.882459 -0.0495032 0.227025; 0.115859 0.434942 0.503355 0.212722 0.341368 0.270233 0.886889 0.310066; 0.461218 0.614428 0.398322 0.870256 0.18857 0.809872 0.428467 0.670228; 0.0146669 0.522088 0.858881 0.471431 0.179369 0.517363 0.834588 -0.152687; 0.267005 1.04633 0.489974 0.68898 0.734708 0.651096 0.644856 0.66879] ≈ [0.146682 0.493073 0.4707 0.756417 0.131971 0.58145 0.883679 0.502832; 0.267005 0.812809 0.627909 0.699976 0.734708 0.6401 0.506921 0.902309; 0.0146669 0.124691 0.94267 0.0299981 0.179369 0.958796 0.750799 0.244711; 0.461218 0.453559 0.490835 0.821122 0.18857 0.859006 0.335954 0.831096; 0.115859 0.0351164 0.682975 0.264443 0.341368 0.218512 0.707269 0.709892; 0.235559 0.570826 0.0960774 0.681345 0.417845 0.741729 0.0659326 0.515026; 0.490003 0.0925948 0.976797 0.227345 0.779546 0.169835 0.593264 0.21747; 0.922111 0.0743361 0.0878708 0.472697 0.896269 0.130853 0.348887 0.706139; 0.135113 0.103647 0.97791 0.631959 0.459783 0.113284 0.979105 0.32157]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.902309 0.506921 0.6401 0.734708 0.699976 0.627909 0.812809 0.267005; 0.557963 0.883246 0.899183 0.22211 0.204535 0.682986 0.672091 -0.155311; 0.401377 0.494477 0.231382 0.645752 0.353679 0.869979 0.184022 0.541703; 0.727625 0.931204 0.172806 0.439628 0.324741 0.662873 0.158853 0.221433; 0.127133 0.45682 0.307005 0.862361 0.168398 0.717288 0.104711 0.803141; 0.605364 0.202376 0.60456 0.33503 0.740292 0.355587 0.55871 -0.0775793; 0.688405 0.124952 0.176559 0.79801 0.412399 0.107972 -0.0494007 0.816537; 0.751289 0.820582 0.740909 0.00260058 1.0994 0.598766 0.373185 0.0546281; 0.18958 0.751231 0.641062 0.0892297 0.581881 0.730384 -0.0543275 0.316659] ≈ [0.902309 0.267005 0.812809 0.627909 0.699976 0.734708 0.6401 0.506921; 0.244711 0.0146669 0.124691 0.94267 0.0299981 0.179369 0.958796 0.750799; 0.831096 0.461218 0.453559 0.490835 0.821122 0.18857 0.859006 0.335954; 0.709892 0.115859 0.0351164 0.682975 0.264443 0.341368 0.218512 0.707269; 0.515026 0.235559 0.570826 0.0960774 0.681345 0.417845 0.741729 0.0659326; 0.21747 0.490003 0.0925948 0.976797 0.227345 0.779546 0.169835 0.593264; 0.706139 0.922111 0.0743361 0.0878708 0.472697 0.896269 0.130853 0.348887; 0.32157 0.135113 0.103647 0.97791 0.631959 0.459783 0.113284 0.979105; 0.502832 0.146682 0.493073 0.4707 0.756417 0.131971 0.58145 0.883679]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.502832 0.883246 0.954314 -0.0803154 0.756417 0.682986 0.120209 0.147114; 0.257359 0.472404 0.361545 0.606733 0.40256 0.892052 0.148997 0.580722; 0.450248 0.915153 0.441385 0.53166 -0.162624 0.678924 0.655016 0.129401; 0.343801 0.521818 0.101016 0.989728 0.179648 0.65229 0.0827806 0.675774; 0.880313 0.377123 0.541323 0.305864 0.734503 0.18084 0.352786 -0.0484127; 0.344604 -0.0497952 0.308647 0.768843 0.211285 0.28272 0.363427 0.845704; 0.704765 0.755584 0.776752 0.129967 0.868819 0.663764 0.614447 -0.0727383; 0.500602 0.767282 0.338839 0.181262 0.665319 0.714333 -0.146564 0.224628; 0.96652 0.528993 0.589744 0.695689 0.929375 0.605837 0.569554 0.306024] ≈ [0.502832 0.146682 0.493073 0.4707 0.756417 0.131971 0.58145 0.883679; 0.902309 0.267005 0.812809 0.627909 0.699976 0.734708 0.6401 0.506921; 0.244711 0.0146669 0.124691 0.94267 0.0299981 0.179369 0.958796 0.750799; 0.831096 0.461218 0.453559 0.490835 0.821122 0.18857 0.859006 0.335954; 0.709892 0.115859 0.0351164 0.682975 0.264443 0.341368 0.218512 0.707269; 0.515026 0.235559 0.570826 0.0960774 0.681345 0.417845 0.741729 0.0659326; 0.21747 0.490003 0.0925948 0.976797 0.227345 0.779546 0.169835 0.593264; 0.706139 0.922111 0.0743361 0.0878708 0.472697 0.896269 0.130853 0.348887; 0.32157 0.135113 0.103647 0.97791 0.631959 0.459783 0.113284 0.979105]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.493073 -0.155311 0.736981 0.79354 0.58145 0.22211 0.522268 0.772692; 0.167858 0.580722 0.238497 0.771064 0.342683 0.606733 0.421422 0.593392; 0.330227 0.431826 0.168023 0.789478 0.766174 0.229235 0.119601 0.804599; -0.0337361 0.753813 0.102231 0.575446 0.217533 0.911689 0.421219 0.598661; 0.205538 0.0699487 0.858119 0.323495 0.688572 0.187502 0.756697 0.234468; 0.400404 0.669009 0.339017 0.0758802 0.27167 0.945538 0.216872 0.157044; 0.57989 0.103956 0.707932 0.456924 0.811309 -0.0467275 0.865653 0.962423; -0.1312 0.106266 0.654681 0.856988 0.323475 0.299623 0.51124 0.624627; 0.748598 0.227986 1.14556 0.528993 0.4107 0.773727 0.750332 0.605837] ≈ [0.493073 0.4707 0.756417 0.131971 0.58145 0.883679 0.502832 0.146682; 0.812809 0.627909 0.699976 0.734708 0.6401 0.506921 0.902309 0.267005; 0.124691 0.94267 0.0299981 0.179369 0.958796 0.750799 0.244711 0.0146669; 0.453559 0.490835 0.821122 0.18857 0.859006 0.335954 0.831096 0.461218; 0.0351164 0.682975 0.264443 0.341368 0.218512 0.707269 0.709892 0.115859; 0.570826 0.0960774 0.681345 0.417845 0.741729 0.0659326 0.515026 0.235559; 0.0925948 0.976797 0.227345 0.779546 0.169835 0.593264 0.21747 0.490003; 0.0743361 0.0878708 0.472697 0.896269 0.130853 0.348887 0.706139 0.922111; 0.103647 0.97791 0.631959 0.459783 0.113284 0.979105 0.32157 0.135113]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.244711 0.751231 0.585932 0.391655 0.0299981 0.730384 0.497555 0.0142343; 1.04633 0.528993 0.509936 0.773727 0.651096 0.605837 0.847834 0.227986; 0.83534 0.899297 0.630604 0.130078 0.691899 0.666935 0.175929 -0.0632789; 0.184708 0.429479 0.437371 0.518386 0.342429 0.934977 0.205952 0.669069; 0.452675 0.756457 0.236043 0.468795 0.33053 0.83762 0.364777 0.192266; 0.470934 0.631567 0.174916 0.891528 0.369512 0.542541 -0.308117 0.773974; 0.651887 0.267374 0.568717 0.207664 0.970875 0.290589 0.317448 0.0497871; 0.377383 0.108901 0.478783 0.705978 0.328961 0.124023 0.0428358 0.908569; 0.687078 0.79851 0.791264 0.0416197 0.870002 0.620838 0.616439 0.015609] ≈ [0.244711 0.0146669 0.124691 0.94267 0.0299981 0.179369 0.958796 0.750799; 0.831096 0.461218 0.453559 0.490835 0.821122 0.18857 0.859006 0.335954; 0.709892 0.115859 0.0351164 0.682975 0.264443 0.341368 0.218512 0.707269; 0.515026 0.235559 0.570826 0.0960774 0.681345 0.417845 0.741729 0.0659326; 0.21747 0.490003 0.0925948 0.976797 0.227345 0.779546 0.169835 0.593264; 0.706139 0.922111 0.0743361 0.0878708 0.472697 0.896269 0.130853 0.348887; 0.32157 0.135113 0.103647 0.97791 0.631959 0.459783 0.113284 0.979105; 0.502832 0.146682 0.493073 0.4707 0.756417 0.131971 0.58145 0.883679; 0.902309 0.267005 0.812809 0.627909 0.699976 0.734708 0.6401 0.506921]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.130853 0.439628 0.366694 0.788549 0.0743361 0.221433 0.812142 0.805528; -0.0607471 0.989728 0.341411 0.598661 0.0460715 0.675774 0.380511 0.575446; 0.624054 0.397895 0.432987 0.250519 0.538046 -0.140445 0.913839 0.307444; 0.211539 0.85719 0.292698 0.114118 0.327754 0.757356 0.395972 0.118806; 1.30446 -0.109593 0.66031 0.803727 0.582317 0.166822 0.417693 0.615621; 0.513339 0.201423 0.585141 0.734376 -0.00406789 0.204466 0.263784 0.747239; 0.647072 0.675528 0.777725 0.496087 0.520171 0.326185 1.11023 0.638742; 0.699126 0.159244 0.692404 0.931389 0.525853 -0.0924455 0.41639 0.634843; 0.343866 0.518386 0.435934 0.636318 0.150171 0.669069 0.240489 0.728138] ≈ [0.130853 0.348887 0.706139 0.922111 0.0743361 0.0878708 0.472697 0.896269; 0.113284 0.979105 0.32157 0.135113 0.103647 0.97791 0.631959 0.459783; 0.58145 0.883679 0.502832 0.146682 0.493073 0.4707 0.756417 0.131971; 0.6401 0.506921 0.902309 0.267005 0.812809 0.627909 0.699976 0.734708; 0.958796 0.750799 0.244711 0.0146669 0.124691 0.94267 0.0299981 0.179369; 0.859006 0.335954 0.831096 0.461218 0.453559 0.490835 0.821122 0.18857; 0.218512 0.707269 0.709892 0.115859 0.0351164 0.682975 0.264443 0.341368; 0.741729 0.0659326 0.515026 0.235559 0.570826 0.0960774 0.681345 0.417845; 0.169835 0.593264 0.21747 0.490003 0.0925948 0.976797 0.227345 0.779546]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.979105 0.231382 0.161124 0.551585 0.97791 0.184022 0.433772 0.203472; 0.424868 0.441385 1.02194 0.119601 0.0118895 0.655016 0.796435 0.168023; 0.724537 0.231179 0.725918 0.291055 0.845524 0.0477557 0.543631 0.137256; -0.0149306 0.865033 0.471474 0.432987 0.176941 0.297067 0.18193 0.913839; 0.617681 0.182466 0.215693 0.343053 0.772563 0.0632171 0.241535 0.639227; 0.425541 0.735002 0.487229 0.907403 0.401248 0.260567 0.162559 1.06181; 0.831662 0.380589 0.0896623 0.46949 0.861807 0.207316 0.104373 0.300801; 0.375648 0.715925 0.734708 0.62415 0.759182 0.869764 0.267005 0.845354; 0.807697 0.630604 0.221677 0.845978 0.546681 0.175929 0.0569754 0.681261] ≈ [0.979105 0.32157 0.135113 0.103647 0.97791 0.631959 0.459783 0.113284; 0.883679 0.502832 0.146682 0.493073 0.4707 0.756417 0.131971 0.58145; 0.506921 0.902309 0.267005 0.812809 0.627909 0.699976 0.734708 0.6401; 0.750799 0.244711 0.0146669 0.124691 0.94267 0.0299981 0.179369 0.958796; 0.335954 0.831096 0.461218 0.453559 0.490835 0.821122 0.18857 0.859006; 0.707269 0.709892 0.115859 0.0351164 0.682975 0.264443 0.341368 0.218512; 0.0659326 0.515026 0.235559 0.570826 0.0960774 0.681345 0.417845 0.741729; 0.593264 0.21747 0.490003 0.0925948 0.976797 0.227345 0.779546 0.169835; 0.348887 0.706139 0.922111 0.0743361 0.0878708 0.472697 0.896269 0.130853]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.485071 0.079468 0.767676 0.729515 0.913743 0.521444 0.96826 0.106501 0.0329722; 0.133608 0.827806 0.703504 0.0910215 0.653432 0.656147 0.838405 0.834799 0.998296; 0.933919 0.754505 0.604931 0.632645 0.970557 0.534955 0.198018 0.92421 0.891735; 0.393375 0.987222 0.97523 0.228973 0.308787 0.872446 0.642649 0.181408 0.284228; 0.780727 0.148182 0.107318 0.582135 0.124948 0.699839 0.366226 0.239185 0.285995; 0.603382 0.247845 0.854331 0.982533 0.970188 0.29738 0.845088 0.863034 0.565589; 0.613958 0.763437 0.107112 0.734055 0.609821 0.817607 0.197732 0.562619 0.00331823; 0.66576 0.0705511 0.290744 0.105737 0.596702 0.117294 0.152064 0.648382 0.445428] ≈ [0.485071 0.0329722 0.106501 0.96826 0.521444 0.913743 0.729515 0.767676 0.079468; 0.66576 0.445428 0.648382 0.152064 0.117294 0.596702 0.105737 0.290744 0.0705511; 0.613958 0.00331823 0.562619 0.197732 0.817607 0.609821 0.734055 0.107112 0.763437; 0.603382 0.565589 0.863034 0.845088 0.29738 0.970188 0.982533 0.854331 0.247845; 0.780727 0.285995 0.239185 0.366226 0.699839 0.124948 0.582135 0.107318 0.148182; 0.393375 0.284228 0.181408 0.642649 0.872446 0.308787 0.228973 0.97523 0.987222; 0.933919 0.891735 0.92421 0.198018 0.534955 0.970557 0.632645 0.604931 0.754505; 0.133608 0.998296 0.834799 0.838405 0.656147 0.653432 0.0910215 0.703504 0.827806]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.66576 0.172745 0.403915 -0.244791 0.35564 0.358356 0.502593 0.535211 0.343234; 0.485071 -0.0123947 0.277449 1.0662 0.935395 0.499792 0.631574 0.596728 0.124835; 0.133608 1.26455 1.16606 0.257876 0.37296 0.936619 0.671551 0.372241 0.561554; 0.933919 0.754214 0.698637 0.523286 0.465311 1.0402 0.307377 0.830504 0.892026; 0.393375 0.476853 0.573968 0.504534 0.927021 0.254213 0.367088 0.582671 0.794597; 0.780727 0.597148 -0.0545019 0.742342 0.3085 0.516287 0.206019 0.401005 -0.162971; 0.603382 0.219279 0.679864 0.890647 0.873488 0.39408 0.936974 1.0375 0.594155; 0.613958 0.406625 0.665453 0.346521 0.909863 0.517565 0.585266 0.00427758 0.360129] ≈ [0.66576 0.445428 0.648382 0.152064 0.117294 0.596702 0.105737 0.290744 0.0705511; 0.613958 0.00331823 0.562619 0.197732 0.817607 0.609821 0.734055 0.107112 0.763437; 0.603382 0.565589 0.863034 0.845088 0.29738 0.970188 0.982533 0.854331 0.247845; 0.780727 0.285995 0.239185 0.366226 0.699839 0.124948 0.582135 0.107318 0.148182; 0.393375 0.284228 0.181408 0.642649 0.872446 0.308787 0.228973 0.97523 0.987222; 0.933919 0.891735 0.92421 0.198018 0.534955 0.970557 0.632645 0.604931 0.754505; 0.133608 0.998296 0.834799 0.838405 0.656147 0.653432 0.0910215 0.703504 0.827806; 0.485071 0.0329722 0.106501 0.96826 0.521444 0.913743 0.729515 0.767676 0.079468]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.0329722 0.485071 0.079468 0.767676 0.729515 0.913743 0.521444 0.96826 0.106501; 1.10049 0.606064 0.441821 0.525489 0.367806 0.968238 0.479929 0.771669 0.475514; 0.443061 1.02285 0.708266 0.53639 0.542024 0.790332 0.857077 0.642083 0.903395; 0.794597 0.558828 0.240754 0.58408 0.893286 0.538268 0.2441 0.603188 0.417218; 0.285995 0.780727 0.148182 0.107318 0.582135 0.124948 0.699839 0.366226 0.239185; 0.05522 0.437929 0.994314 1.24548 0.31822 0.740707 0.925726 0.884549 0.627224; 0.451992 0.525029 0.809676 0.175653 0.824677 0.790046 0.495486 -0.246333 0.583434; 0.343234 0.193304 0.456537 0.468759 -0.171047 0.281896 0.293512 0.218801 1.00767] ≈ [0.0329722 0.106501 0.96826 0.521444 0.913743 0.729515 0.767676 0.079468 0.485071; 0.445428 0.648382 0.152064 0.117294 0.596702 0.105737 0.290744 0.0705511 0.66576; 0.00331823 0.562619 0.197732 0.817607 0.609821 0.734055 0.107112 0.763437 0.613958; 0.565589 0.863034 0.845088 0.29738 0.970188 0.982533 0.854331 0.247845 0.603382; 0.285995 0.239185 0.366226 0.699839 0.124948 0.582135 0.107318 0.148182 0.780727; 0.284228 0.181408 0.642649 0.872446 0.308787 0.228973 0.97523 0.987222 0.393375; 0.891735 0.92421 0.198018 0.534955 0.970557 0.632645 0.604931 0.754505 0.933919; 0.998296 0.834799 0.838405 0.656147 0.653432 0.0910215 0.703504 0.827806 0.133608]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.445428 0.306475 0.106008 0.227697 0.0700145 0.632425 0.18034 0.116607 1.00767; -0.323839 0.519129 0.186518 0.404239 0.930778 0.799971 0.626582 0.830487 0.630785; 1.07192 0.75011 0.711959 0.655416 0.685762 0.838868 0.42777 0.438211 0.157001; 0.892026 0.988791 0.509061 0.503305 0.568088 0.420509 1.23553 0.552529 0.775632; 0.284228 0.157565 0.516314 1.20231 0.275053 0.262707 0.645363 1.11356 0.417218; 0.285703 0.74667 0.398235 -0.181292 0.877766 0.443923 0.389496 0.00710594 0.366948; 0.491962 0.581975 0.799144 0.738382 0.377436 0.795109 0.689794 0.809831 0.945737; 0.360129 0.559086 0.651778 0.860784 0.301719 0.954666 0.322233 0.340114 0.0591496] ≈ [0.445428 0.648382 0.152064 0.117294 0.596702 0.105737 0.290744 0.0705511 0.66576; 0.00331823 0.562619 0.197732 0.817607 0.609821 0.734055 0.107112 0.763437 0.613958; 0.565589 0.863034 0.845088 0.29738 0.970188 0.982533 0.854331 0.247845 0.603382; 0.285995 0.239185 0.366226 0.699839 0.124948 0.582135 0.107318 0.148182 0.780727; 0.284228 0.181408 0.642649 0.872446 0.308787 0.228973 0.97523 0.987222 0.393375; 0.891735 0.92421 0.198018 0.534955 0.970557 0.632645 0.604931 0.754505 0.933919; 0.998296 0.834799 0.838405 0.656147 0.653432 0.0910215 0.703504 0.827806 0.133608; 0.0329722 0.106501 0.96826 0.521444 0.913743 0.729515 0.767676 0.079468 0.485071]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.133608 0.725613 0.590333 0.44155 0.894494 0.415085 0.487877 0.947971 1.10049; 0.933919 0.846368 1.09516 0.295959 0.948905 0.556607 0.534704 0.433983 0.799872; 0.393375 0.55048 0.512672 0.062119 0.589259 0.591974 0.809503 0.643967 0.72097; 0.780727 0.148474 0.0136122 0.691494 0.630195 0.194592 0.256867 0.332891 0.285703; 0.603382 0.758214 1.25559 0.706973 0.351954 0.915614 1.12065 0.461772 0.05522; 0.613958 0.314471 0.268932 0.573848 0.426269 1.00116 0.357939 0.400799 0.452284; 0.66576 0.0991177 0.465212 0.197623 0.693402 0.0205937 0.0601778 0.473914 0.416861; 0.485071 0.436279 0.209335 1.11705 0.6137 0.821487 0.580726 0.664842 -0.323839] ≈ [0.133608 0.998296 0.834799 0.838405 0.656147 0.653432 0.0910215 0.703504 0.827806; 0.485071 0.0329722 0.106501 0.96826 0.521444 0.913743 0.729515 0.767676 0.079468; 0.66576 0.445428 0.648382 0.152064 0.117294 0.596702 0.105737 0.290744 0.0705511; 0.613958 0.00331823 0.562619 0.197732 0.817607 0.609821 0.734055 0.107112 0.763437; 0.603382 0.565589 0.863034 0.845088 0.29738 0.970188 0.982533 0.854331 0.247845; 0.780727 0.285995 0.239185 0.366226 0.699839 0.124948 0.582135 0.107318 0.148182; 0.393375 0.284228 0.181408 0.642649 0.872446 0.308787 0.228973 0.97523 0.987222; 0.933919 0.891735 0.92421 0.198018 0.534955 0.970557 0.632645 0.604931 0.754505]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.079468 0.767676 0.729515 0.913743 0.521444 0.96826 0.106501 0.0329722 0.485071; 0.725613 0.231048 0.477007 0.831447 0.379363 0.5236 1.01102 1.06503 0.492893; 1.20318 0.516002 0.678885 1.0391 0.625576 0.378243 0.602088 0.447669 0.954734; 0.476853 0.809778 0.975441 0.699937 0.208133 0.413168 0.809755 0.323689 0.157565; 0.148182 0.107318 0.582135 0.124948 0.699839 0.366226 0.239185 0.285995 0.780727; 0.758214 1.01978 0.236065 0.579038 0.961693 1.07457 0.234688 0.526128 0.839191; 0.314763 0.196041 0.687816 0.541279 0.726986 0.0175066 0.884741 0.447384 0.593143; 0.172745 0.763201 -0.280248 0.418687 0.394078 0.46687 0.472164 0.378691 0.306475] ≈ [0.079468 0.485071 0.0329722 0.106501 0.96826 0.521444 0.913743 0.729515 0.767676; 0.0705511 0.66576 0.445428 0.648382 0.152064 0.117294 0.596702 0.105737 0.290744; 0.763437 0.613958 0.00331823 0.562619 0.197732 0.817607 0.609821 0.734055 0.107112; 0.247845 0.603382 0.565589 0.863034 0.845088 0.29738 0.970188 0.982533 0.854331; 0.148182 0.780727 0.285995 0.239185 0.366226 0.699839 0.124948 0.582135 0.107318; 0.987222 0.393375 0.284228 0.181408 0.642649 0.872446 0.308787 0.228973 0.97523; 0.754505 0.933919 0.891735 0.92421 0.198018 0.534955 0.970557 0.632645 0.604931; 0.827806 0.133608 0.998296 0.834799 0.838405 0.656147 0.653432 0.0910215 0.703504]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.827806 0.231048 0.374813 0.718276 0.729891 0.764662 0.769955 0.714504 0.606064; 0.846368 1.04029 0.541111 1.14424 0.511805 0.579506 0.238651 0.55472 0.988791; 0.448287 0.491265 0.641984 0.647777 0.0787629 0.731124 0.939681 0.593827 0.301611; 0.597148 -0.0204448 0.492581 0.503404 0.330015 0.39229 0.206101 0.0867901 0.74667; 0.247845 1.01978 0.746433 0.9803 0.686133 0.456335 0.852922 0.801689 0.437929; 0.314471 0.323804 0.328696 0.230937 1.04596 0.313137 0.59613 0.697436 0.559086; 0.609486 1.08171 -0.354966 0.182755 0.44848 0.526086 -0.0349352 0.183521 0.450521; -0.0123947 0.243392 1.31596 0.74049 0.686063 0.445303 0.791632 -0.124926 0.519129] ≈ [0.827806 0.133608 0.998296 0.834799 0.838405 0.656147 0.653432 0.0910215 0.703504; 0.079468 0.485071 0.0329722 0.106501 0.96826 0.521444 0.913743 0.729515 0.767676; 0.0705511 0.66576 0.445428 0.648382 0.152064 0.117294 0.596702 0.105737 0.290744; 0.763437 0.613958 0.00331823 0.562619 0.197732 0.817607 0.609821 0.734055 0.107112; 0.247845 0.603382 0.565589 0.863034 0.845088 0.29738 0.970188 0.982533 0.854331; 0.148182 0.780727 0.285995 0.239185 0.366226 0.699839 0.124948 0.582135 0.107318; 0.987222 0.393375 0.284228 0.181408 0.642649 0.872446 0.308787 0.228973 0.97523; 0.754505 0.933919 0.891735 0.92421 0.198018 0.534955 0.970557 0.632645 0.604931]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.998296 0.492893 0.792349 0.766551 0.126744 0.617709 0.5931 0.873862 0.475514; 0.799872 0.988791 0.601216 0.899826 0.340761 0.904103 0.751938 0.779856 0.379111; 0.823163 0.414782 -0.0293846 0.454153 0.57533 0.667638 0.29626 0.936646 0.735731; -0.162971 0.814784 0.347387 0.140403 0.556071 0.494771 0.321382 0.45578 0.366948; 0.565589 0.839191 0.718753 0.627247 0.936454 1.01627 0.524464 0.37418 0.627224; 0.452284 0.559086 0.559623 0.464263 0.529046 0.471071 0.805828 0.112787 0.455671; -0.0935076 0.0492582 0.651707 0.975858 -0.230263 0.227494 0.529443 0.293518 0.689154; 0.124835 0.451014 0.237366 0.0825446 1.25247 0.749124 0.694696 0.381813 0.630785] ≈ [0.998296 0.834799 0.838405 0.656147 0.653432 0.0910215 0.703504 0.827806 0.133608; 0.0329722 0.106501 0.96826 0.521444 0.913743 0.729515 0.767676 0.079468 0.485071; 0.445428 0.648382 0.152064 0.117294 0.596702 0.105737 0.290744 0.0705511 0.66576; 0.00331823 0.562619 0.197732 0.817607 0.609821 0.734055 0.107112 0.763437 0.613958; 0.565589 0.863034 0.845088 0.29738 0.970188 0.982533 0.854331 0.247845 0.603382; 0.285995 0.239185 0.366226 0.699839 0.124948 0.582135 0.107318 0.148182 0.780727; 0.284228 0.181408 0.642649 0.872446 0.308787 0.228973 0.97523 0.987222 0.393375; 0.891735 0.92421 0.198018 0.534955 0.970557 0.632645 0.604931 0.754505 0.933919]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.0705511 0.763201 -0.178055 0.531858 0.0435497 0.225808 0.713226 0.72922 0.193304; 0.436279 0.243392 0.867289 0.808604 0.635216 0.766998 0.469938 -0.0740782 0.451014; 0.754179 0.549561 0.810465 0.883606 0.508733 0.205643 0.88109 0.794894 0.348847; 0.754214 0.643765 0.768438 0.660642 0.995399 0.352179 0.635172 0.646874 0.988791; 0.987222 0.809778 0.465073 0.298674 0.483694 1.0314 0.191521 0.0481283 0.558828; 0.148474 -0.0204448 0.941255 0.43529 0.380863 0.0705955 0.527796 0.0359423 0.814784; 0.321472 0.701271 0.310782 0.81497 0.907291 1.01535 0.741787 0.721298 0.695146; 0.406625 0.720325 0.101369 0.714532 0.562367 0.540464 0.199609 0.605282 0.559086] ≈ [0.0705511 0.66576 0.445428 0.648382 0.152064 0.117294 0.596702 0.105737 0.290744; 0.763437 0.613958 0.00331823 0.562619 0.197732 0.817607 0.609821 0.734055 0.107112; 0.247845 0.603382 0.565589 0.863034 0.845088 0.29738 0.970188 0.982533 0.854331; 0.148182 0.780727 0.285995 0.239185 0.366226 0.699839 0.124948 0.582135 0.107318; 0.987222 0.393375 0.284228 0.181408 0.642649 0.872446 0.308787 0.228973 0.97523; 0.754505 0.933919 0.891735 0.92421 0.198018 0.534955 0.970557 0.632645 0.604931; 0.827806 0.133608 0.998296 0.834799 0.838405 0.656147 0.653432 0.0910215 0.703504; 0.079468 0.485071 0.0329722 0.106501 0.96826 0.521444 0.913743 0.729515 0.767676]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.308787 0.208133 0.804318 0.89191 0.319905 0.357698 0.276721 0.813561 0.893286; 0.630195 0.330015 0.2655 0.142611 0.0613662 1.00506 0.338754 0.00497907 0.556071; 0.632426 0.556762 1.07001 0.777327 0.762566 0.332777 0.468476 1.01053 0.618498; 0.909863 0.562367 0.345133 -0.000741189 0.42002 0.554068 0.411644 0.905586 0.301719; 0.596702 0.394078 0.288855 0.362963 0.987938 0.12325 0.35597 0.153954 -0.171047; 0.6137 0.686063 0.572093 0.855122 -0.0995021 0.260735 0.245999 0.217968 1.25247; 0.991194 0.784293 0.315028 0.495424 0.223131 0.982399 1.03226 0.845763 0.0675283; 0.465311 0.995399 0.547511 0.835522 0.832136 0.99381 0.749195 0.458503 0.568088] ≈ [0.308787 0.228973 0.97523 0.987222 0.393375 0.284228 0.181408 0.642649 0.872446; 0.970557 0.632645 0.604931 0.754505 0.933919 0.891735 0.92421 0.198018 0.534955; 0.653432 0.0910215 0.703504 0.827806 0.133608 0.998296 0.834799 0.838405 0.656147; 0.913743 0.729515 0.767676 0.079468 0.485071 0.0329722 0.106501 0.96826 0.521444; 0.596702 0.105737 0.290744 0.0705511 0.66576 0.445428 0.648382 0.152064 0.117294; 0.609821 0.734055 0.107112 0.763437 0.613958 0.00331823 0.562619 0.197732 0.817607; 0.970188 0.982533 0.854331 0.247845 0.603382 0.565589 0.863034 0.845088 0.29738; 0.124948 0.582135 0.107318 0.148182 0.780727 0.285995 0.239185 0.366226 0.699839]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.653432 0.379363 0.701615 1.12022 0.455785 0.676118 0.542388 0.840295 0.367806; 0.948905 0.511805 0.774838 0.439001 0.739981 0.99381 0.841349 0.855024 0.340761; 0.830321 0.429292 0.676471 0.904141 0.552559 0.663979 0.301283 0.182004 0.334268; 0.3085 0.380863 0.197386 0.591285 0.0613662 0.55639 0.406868 -0.0458687 0.877766; 0.970188 0.961693 0.683419 0.152533 0.529912 0.639059 0.958347 1.016 0.31822; 0.426269 1.04596 0.117805 0.39578 0.512175 0.554068 0.31949 0.509065 0.529046; 0.0751679 0.17292 0.416701 0.350731 0.755284 -0.183031 0.331407 0.785511 0.387971; 0.935395 0.635216 0.640207 0.406448 -0.0995021 0.709408 0.177885 0.268816 0.930778] ≈ [0.653432 0.0910215 0.703504 0.827806 0.133608 0.998296 0.834799 0.838405 0.656147; 0.913743 0.729515 0.767676 0.079468 0.485071 0.0329722 0.106501 0.96826 0.521444; 0.596702 0.105737 0.290744 0.0705511 0.66576 0.445428 0.648382 0.152064 0.117294; 0.609821 0.734055 0.107112 0.763437 0.613958 0.00331823 0.562619 0.197732 0.817607; 0.970188 0.982533 0.854331 0.247845 0.603382 0.565589 0.863034 0.845088 0.29738; 0.124948 0.582135 0.107318 0.148182 0.780727 0.285995 0.239185 0.366226 0.699839; 0.308787 0.228973 0.97523 0.987222 0.393375 0.284228 0.181408 0.642649 0.872446; 0.970557 0.632645 0.604931 0.754505 0.933919 0.891735 0.92421 0.198018 0.534955]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.435243 0.353825 0.232686 0.916492 0.130741 0.0513654 0.797967 0.776641 0.117587; 0.550967 0.461893 0.717516 0.532179 0.198544 0.408026 0.877818 0.423572 0.165458; 0.211147 0.233704 0.375101 0.765193 0.363754 0.663798 0.519782 0.0860816 0.783605; 0.67315 0.795617 0.519637 0.416703 0.508407 0.830418 0.926308 0.264311 0.420046; 0.939956 0.530546 0.0376447 0.938268 0.756343 0.706886 0.984801 0.273947 0.832134; 0.551161 0.148289 0.886143 0.993868 0.938592 0.440693 0.657168 0.548979 0.351327; 0.61884 0.715906 0.0819959 0.716419 0.306504 0.225303 0.0685216 0.605026 0.559557; 0.816183 0.584331 0.0839539 0.758173 0.440097 0.327262 0.744061 0.560938 0.133618; 0.0931911 0.506966 0.488457 0.13115 0.858371 0.642509 0.710306 0.745308 0.759724] ≈ [0.435243 0.117587 0.776641 0.797967 0.0513654 0.130741 0.916492 0.232686 0.353825; 0.0931911 0.759724 0.745308 0.710306 0.642509 0.858371 0.13115 0.488457 0.506966; 0.816183 0.133618 0.560938 0.744061 0.327262 0.440097 0.758173 0.0839539 0.584331; 0.61884 0.559557 0.605026 0.0685216 0.225303 0.306504 0.716419 0.0819959 0.715906; 0.551161 0.351327 0.548979 0.657168 0.440693 0.938592 0.993868 0.886143 0.148289; 0.939956 0.832134 0.273947 0.984801 0.706886 0.756343 0.938268 0.0376447 0.530546; 0.67315 0.420046 0.264311 0.926308 0.830418 0.508407 0.416703 0.519637 0.795617; 0.211147 0.783605 0.0860816 0.519782 0.663798 0.363754 0.765193 0.375101 0.233704; 0.550967 0.165458 0.423572 0.877818 0.408026 0.198544 0.532179 0.717516 0.461893]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.0931911 0.781563 0.763854 0.247908 0.645699 0.855182 0.593547 0.46991 0.485128; 0.435243 -0.0392446 0.649174 0.979935 -0.0589685 0.241075 0.734524 0.360154 0.510656; 0.550967 0.501461 0.698207 0.450196 0.14228 0.464291 0.959801 0.442881 0.12589; 0.211147 0.357861 0.11244 0.619221 0.538505 0.489048 0.665755 0.348743 0.659449; 0.67315 0.506313 0.560556 0.839856 0.918362 0.420463 0.503155 0.223392 0.709351; 0.939956 0.759514 -0.105719 1.28548 0.772215 0.691015 0.637586 0.417311 0.603165; 0.551161 0.475165 0.479069 0.832574 0.74606 0.633225 0.818462 0.956053 0.0244517; 0.61884 0.511352 0.215085 0.102892 0.373834 0.157973 0.682048 0.471936 0.76411; 0.816183 0.477093 0.0504684 0.810379 0.423367 0.343992 0.691854 0.594423 0.240855] ≈ [0.0931911 0.759724 0.745308 0.710306 0.642509 0.858371 0.13115 0.488457 0.506966; 0.816183 0.133618 0.560938 0.744061 0.327262 0.440097 0.758173 0.0839539 0.584331; 0.61884 0.559557 0.605026 0.0685216 0.225303 0.306504 0.716419 0.0819959 0.715906; 0.551161 0.351327 0.548979 0.657168 0.440693 0.938592 0.993868 0.886143 0.148289; 0.939956 0.832134 0.273947 0.984801 0.706886 0.756343 0.938268 0.0376447 0.530546; 0.67315 0.420046 0.264311 0.926308 0.830418 0.508407 0.416703 0.519637 0.795617; 0.211147 0.783605 0.0860816 0.519782 0.663798 0.363754 0.765193 0.375101 0.233704; 0.550967 0.165458 0.423572 0.877818 0.408026 0.198544 0.532179 0.717516 0.461893; 0.435243 0.117587 0.776641 0.797967 0.0513654 0.130741 0.916492 0.232686 0.353825]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.117587 0.435243 0.353825 0.232686 0.916492 0.130741 0.0513654 0.797967 0.776641; 0.440055 0.436608 0.684944 0.273073 0.214423 0.612214 0.3644 0.496929 0.813328; 0.283298 0.659239 0.412528 0.191356 0.929951 0.289786 0.258102 0.956915 0.0209915; 0.529657 0.864816 0.605903 0.401768 0.869118 0.836349 0.357503 0.42766 0.461824; 0.782859 0.321309 0.311617 0.370769 1.09916 1.01128 0.436274 1.06139 0.605861; 0.400602 1.16981 0.367218 0.553018 0.832971 0.683651 0.711306 0.580581 0.217065; 0.449946 0.427175 0.90562 0.199865 0.264004 -0.021438 0.698218 0.56717 0.407513; 0.633925 0.368091 0.405507 0.267699 0.593415 0.514065 0.732958 0.306928 0.626028; 0.485128 0.20755 0.283915 0.9329 0.448906 0.444702 0.686136 1.09119 0.355552] ≈ [0.117587 0.776641 0.797967 0.0513654 0.130741 0.916492 0.232686 0.353825 0.435243; 0.759724 0.745308 0.710306 0.642509 0.858371 0.13115 0.488457 0.506966 0.0931911; 0.133618 0.560938 0.744061 0.327262 0.440097 0.758173 0.0839539 0.584331 0.816183; 0.559557 0.605026 0.0685216 0.225303 0.306504 0.716419 0.0819959 0.715906 0.61884; 0.351327 0.548979 0.657168 0.440693 0.938592 0.993868 0.886143 0.148289 0.551161; 0.832134 0.273947 0.984801 0.706886 0.756343 0.938268 0.0376447 0.530546 0.939956; 0.420046 0.264311 0.926308 0.830418 0.508407 0.416703 0.519637 0.795617 0.67315; 0.783605 0.0860816 0.519782 0.663798 0.363754 0.765193 0.375101 0.233704 0.211147; 0.165458 0.423572 0.877818 0.408026 0.198544 0.532179 0.717516 0.461893 0.550967]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.759724 0.482947 0.400673 0.720228 0.661578 0.327943 0.410739 0.816598 0.355552; 0.0103494 0.626744 0.268734 0.354453 1.02533 -0.0135737 -0.0536453 1.0425 0.551655; 0.235501 0.493498 0.45925 0.202407 0.474661 0.898171 0.369307 0.31365 0.889527; 0.610174 0.324371 0.157535 0.254672 0.946503 0.627061 0.409328 0.723739 -0.0512149; 0.758626 0.813593 0.731951 0.706823 0.694173 0.648206 0.211684 0.419859 0.369682; 0.493554 0.270087 0.955938 0.491541 0.848283 0.429059 0.684538 1.12952 0.698002; 0.524759 0.83494 0.314944 0.471921 0.834202 0.653643 1.22981 0.362726 0.289272; 0.489514 0.484065 0.435804 0.281598 -0.00730124 0.388115 0.57953 0.915435 0.331314; 0.240855 0.559592 0.606248 -0.0605071 0.691017 0.54273 0.454967 0.562699 0.851014] ≈ [0.759724 0.745308 0.710306 0.642509 0.858371 0.13115 0.488457 0.506966 0.0931911; 0.133618 0.560938 0.744061 0.327262 0.440097 0.758173 0.0839539 0.584331 0.816183; 0.559557 0.605026 0.0685216 0.225303 0.306504 0.716419 0.0819959 0.715906 0.61884; 0.351327 0.548979 0.657168 0.440693 0.938592 0.993868 0.886143 0.148289 0.551161; 0.832134 0.273947 0.984801 0.706886 0.756343 0.938268 0.0376447 0.530546 0.939956; 0.420046 0.264311 0.926308 0.830418 0.508407 0.416703 0.519637 0.795617 0.67315; 0.783605 0.0860816 0.519782 0.663798 0.363754 0.765193 0.375101 0.233704 0.211147; 0.165458 0.423572 0.877818 0.408026 0.198544 0.532179 0.717516 0.461893 0.550967; 0.117587 0.776641 0.797967 0.0513654 0.130741 0.916492 0.232686 0.353825 0.435243]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.550967 0.187296 0.442118 0.41542 0.411216 0.195354 0.994576 0.698969 0.440055; 0.211147 0.626774 -0.0413859 0.70175 0.553464 0.474088 0.583225 0.502569 0.390536; 0.67315 0.756049 0.538946 0.498686 0.564671 0.774153 0.844325 0.245002 0.459614; 0.939956 0.406389 0.300306 1.08424 0.581593 0.881637 0.838829 0.0112861 0.95629; 0.551161 0.437594 0.845224 0.570716 0.528637 0.850648 1.08032 0.589898 0.0620227; 0.61884 0.486937 0.22536 0.369204 0.290632 0.241175 0.415737 0.461662 0.788525; 0.816183 0.257455 0.491028 0.919467 0.632629 0.13473 0.582767 0.153864 0.460493; 0.0931911 0.711519 0.355367 0.744676 0.791041 0.70984 0.096779 0.878397 0.555171; 0.435243 0.461062 0.266172 0.864285 0.14747 0.0346361 0.850173 0.743156 0.0103494] ≈ [0.550967 0.165458 0.423572 0.877818 0.408026 0.198544 0.532179 0.717516 0.461893; 0.435243 0.117587 0.776641 0.797967 0.0513654 0.130741 0.916492 0.232686 0.353825; 0.0931911 0.759724 0.745308 0.710306 0.642509 0.858371 0.13115 0.488457 0.506966; 0.816183 0.133618 0.560938 0.744061 0.327262 0.440097 0.758173 0.0839539 0.584331; 0.61884 0.559557 0.605026 0.0685216 0.225303 0.306504 0.716419 0.0819959 0.715906; 0.551161 0.351327 0.548979 0.657168 0.440693 0.938592 0.993868 0.886143 0.148289; 0.939956 0.832134 0.273947 0.984801 0.706886 0.756343 0.938268 0.0376447 0.530546; 0.67315 0.420046 0.264311 0.926308 0.830418 0.508407 0.416703 0.519637 0.795617; 0.211147 0.783605 0.0860816 0.519782 0.663798 0.363754 0.765193 0.375101 0.233704]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.353825 0.232686 0.916492 0.130741 0.0513654 0.797967 0.776641 0.117587 0.435243; 0.187296 0.831874 0.309128 0.642987 0.725783 0.464148 0.467198 0.546347 0.161211; 0.734011 -0.0729906 0.58637 0.547499 0.49904 0.59375 0.491777 0.346472 0.276237; 0.686006 0.327972 0.606417 0.626276 0.378002 0.598367 0.737226 0.918695 0.475638; 0.579821 0.656292 1.1572 0.423219 0.545989 0.72986 0.54456 0.755547 0.608042; 0.099014 0.267496 0.77494 1.27172 0.60159 0.912109 0.278367 0.427914 0.883075; 0.825517 0.273661 0.526705 0.188635 0.677719 0.396463 0.132111 0.0609083 0.816352; 0.0840237 0.532046 0.936996 0.256352 0.49202 0.670093 0.155242 0.570751 0.751093; 0.781563 0.374098 0.354201 0.413928 0.324753 1.12398 0.701681 0.378835 0.482947] ≈ [0.353825 0.435243 0.117587 0.776641 0.797967 0.0513654 0.130741 0.916492 0.232686; 0.506966 0.0931911 0.759724 0.745308 0.710306 0.642509 0.858371 0.13115 0.488457; 0.584331 0.816183 0.133618 0.560938 0.744061 0.327262 0.440097 0.758173 0.0839539; 0.715906 0.61884 0.559557 0.605026 0.0685216 0.225303 0.306504 0.716419 0.0819959; 0.148289 0.551161 0.351327 0.548979 0.657168 0.440693 0.938592 0.993868 0.886143; 0.530546 0.939956 0.832134 0.273947 0.984801 0.706886 0.756343 0.938268 0.0376447; 0.795617 0.67315 0.420046 0.264311 0.926308 0.830418 0.508407 0.416703 0.519637; 0.233704 0.211147 0.783605 0.0860816 0.519782 0.663798 0.363754 0.765193 0.375101; 0.461893 0.550967 0.165458 0.423572 0.877818 0.408026 0.198544 0.532179 0.717516]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.461893 0.831874 0.0345314 0.36759 0.609024 0.67682 0.254526 0.663106 0.436608; 0.626774 -0.297977 0.830905 0.442488 0.354725 0.702588 0.613544 0.261381 0.467738; 0.481452 0.404171 0.423138 0.631183 0.66396 0.858605 0.66656 0.693001 0.532528; 0.906696 0.584085 0.924019 0.574445 0.883264 0.746412 0.607875 0.500554 0.273175; 0.327983 0.175355 0.767139 1.1259 0.413447 0.737165 0.583421 0.553962 0.831852; 0.536212 0.365803 0.594842 0.436899 0.0954929 0.145581 0.252883 0.705229 0.76513; 0.20818 0.604252 0.719141 0.77486 0.462012 0.671323 0.0741445 0.518477 0.416226; 0.821131 0.297899 0.702465 0.295241 0.734306 0.85267 0.783414 -0.0909806 0.539837; -0.0392446 0.457673 1.17226 -0.14725 0.0800309 0.895568 0.448435 0.318328 0.626744] ≈ [0.461893 0.550967 0.165458 0.423572 0.877818 0.408026 0.198544 0.532179 0.717516; 0.353825 0.435243 0.117587 0.776641 0.797967 0.0513654 0.130741 0.916492 0.232686; 0.506966 0.0931911 0.759724 0.745308 0.710306 0.642509 0.858371 0.13115 0.488457; 0.584331 0.816183 0.133618 0.560938 0.744061 0.327262 0.440097 0.758173 0.0839539; 0.715906 0.61884 0.559557 0.605026 0.0685216 0.225303 0.306504 0.716419 0.0819959; 0.148289 0.551161 0.351327 0.548979 0.657168 0.440693 0.938592 0.993868 0.886143; 0.530546 0.939956 0.832134 0.273947 0.984801 0.706886 0.756343 0.938268 0.0376447; 0.795617 0.67315 0.420046 0.264311 0.926308 0.830418 0.508407 0.416703 0.519637; 0.233704 0.211147 0.783605 0.0860816 0.519782 0.663798 0.363754 0.765193 0.375101]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.165458 0.161211 0.568186 0.485745 0.00175083 0.728972 0.639797 0.771525 0.813328; 0.390536 0.467738 0.497619 0.0695895 0.821113 0.434101 0.363113 0.71238 0.245978; 0.734211 0.807926 0.831597 0.472434 0.60888 0.550391 0.352596 0.610938 0.385624; 0.455983 0.656177 0.56661 0.307454 1.08261 0.67401 0.285048 1.29456 0.678067; 0.171634 1.22103 0.24117 0.247964 1.00792 0.871794 0.857125 0.588382 0.309207; 0.73925 0.478397 0.261299 0.079093 0.514886 0.560788 0.449954 0.499034 0.315372; 0.509768 0.702959 0.457781 0.348796 0.592185 0.544073 0.214449 0.524782 0.553821; 0.44556 0.150659 0.753731 0.851167 0.720211 0.0351492 0.804824 0.74293 0.431751; 0.510656 0.243742 0.153084 0.560892 0.81889 0.102076 0.329356 0.542195 0.551655] ≈ [0.165458 0.423572 0.877818 0.408026 0.198544 0.532179 0.717516 0.461893 0.550967; 0.117587 0.776641 0.797967 0.0513654 0.130741 0.916492 0.232686 0.353825 0.435243; 0.759724 0.745308 0.710306 0.642509 0.858371 0.13115 0.488457 0.506966 0.0931911; 0.133618 0.560938 0.744061 0.327262 0.440097 0.758173 0.0839539 0.584331 0.816183; 0.559557 0.605026 0.0685216 0.225303 0.306504 0.716419 0.0819959 0.715906 0.61884; 0.351327 0.548979 0.657168 0.440693 0.938592 0.993868 0.886143 0.148289 0.551161; 0.832134 0.273947 0.984801 0.706886 0.756343 0.938268 0.0376447 0.530546 0.939956; 0.420046 0.264311 0.926308 0.830418 0.508407 0.416703 0.519637 0.795617 0.67315; 0.783605 0.0860816 0.519782 0.663798 0.363754 0.765193 0.375101 0.233704 0.211147]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.506966 0.374098 0.628797 0.689326 0.441512 0.911303 0.914353 0.262077 0.20755; 0.461062 0.457673 0.671956 0.235752 0.19568 0.689129 0.654874 0.202678 0.243742; 0.39185 0.755675 0.492407 0.63808 0.439825 0.20391 0.537864 0.772042 0.104321; 0.407136 -0.000784233 0.819547 0.396273 0.161766 0.577198 0.428462 0.601465 0.611104; 0.457038 0.420113 0.614218 0.772095 0.566145 0.773311 0.432171 0.792647 0.52686; 0.869125 0.56415 1.08906 0.174955 1.12822 0.980742 0.423788 0.111226 0.659265; -0.0251423 0.19529 0.992795 0.753208 0.631598 0.910879 0.359464 0.480187 1.21794; 0.785949 0.349861 0.178441 0.307322 0.268166 0.667768 0.0503788 0.530724 0.759462; 0.477093 0.307059 0.681224 0.534343 0.463354 0.572491 0.483448 0.37001 0.559592] ≈ [0.506966 0.0931911 0.759724 0.745308 0.710306 0.642509 0.858371 0.13115 0.488457; 0.584331 0.816183 0.133618 0.560938 0.744061 0.327262 0.440097 0.758173 0.0839539; 0.715906 0.61884 0.559557 0.605026 0.0685216 0.225303 0.306504 0.716419 0.0819959; 0.148289 0.551161 0.351327 0.548979 0.657168 0.440693 0.938592 0.993868 0.886143; 0.530546 0.939956 0.832134 0.273947 0.984801 0.706886 0.756343 0.938268 0.0376447; 0.795617 0.67315 0.420046 0.264311 0.926308 0.830418 0.508407 0.416703 0.519637; 0.233704 0.211147 0.783605 0.0860816 0.519782 0.663798 0.363754 0.765193 0.375101; 0.461893 0.550967 0.165458 0.423572 0.877818 0.408026 0.198544 0.532179 0.717516; 0.353825 0.435243 0.117587 0.776641 0.797967 0.0513654 0.130741 0.916492 0.232686]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.508407 0.378002 0.716236 0.474524 0.516957 0.57624 0.585404 0.72971 0.869118; 0.581593 0.883264 0.739264 0.449282 0.684769 1.21148 -0.0316065 0.399871 1.08261; 0.584901 0.699405 1.54331 0.348938 0.260257 0.392494 0.619677 0.319564 0.747678; 0.305591 0.288453 0.448494 0.65467 0.477507 0.660945 0.716669 -0.0437523 0.389496; 0.49161 0.443068 0.836229 0.0551065 0.725414 0.576123 0.628359 0.398486 0.294219; 0.806857 0.373705 0.329651 1.05069 0.26942 0.23176 0.663384 0.462411 0.748102; 0.131653 0.440632 0.628067 0.516784 0.102726 0.490048 0.563275 0.148362 0.790999; 0.552235 0.627968 0.610519 0.433301 0.828555 0.137607 0.180818 0.665255 0.299717; 0.538505 0.161766 0.434967 0.301506 0.257453 0.613143 0.405097 0.343228 0.946503] ≈ [0.508407 0.416703 0.519637 0.795617 0.67315 0.420046 0.264311 0.926308 0.830418; 0.363754 0.765193 0.375101 0.233704 0.211147 0.783605 0.0860816 0.519782 0.663798; 0.198544 0.532179 0.717516 0.461893 0.550967 0.165458 0.423572 0.877818 0.408026; 0.130741 0.916492 0.232686 0.353825 0.435243 0.117587 0.776641 0.797967 0.0513654; 0.858371 0.13115 0.488457 0.506966 0.0931911 0.759724 0.745308 0.710306 0.642509; 0.440097 0.758173 0.0839539 0.584331 0.816183 0.133618 0.560938 0.744061 0.327262; 0.306504 0.716419 0.0819959 0.715906 0.61884 0.559557 0.605026 0.0685216 0.225303; 0.938592 0.993868 0.886143 0.148289 0.551161 0.351327 0.548979 0.657168 0.440693; 0.756343 0.938268 0.0376447 0.530546 0.939956 0.832134 0.273947 0.984801 0.706886]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
convolution-shift: Test Failed
  Expression: real(pfilt) ≈ circshift(p, offset)
   Evaluated: [0.363754 0.49904 0.777495 0.148197 0.156093 0.838659 0.17159 0.117388 0.929951; 0.564671 0.66396 0.925117 0.480818 0.639018 0.493747 0.520234 0.458154 0.60888; 0.771303 0.738949 0.553381 0.924422 0.541853 0.961324 0.30281 0.232709 0.973775; 0.797574 0.582646 1.26791 0.074341 0.260257 0.667091 0.895074 0.436323 0.535006; 0.322321 0.317118 0.251375 0.679837 0.620423 0.410791 0.765254 0.239059 0.291895; 0.42428 0.85262 0.513567 0.213799 0.603353 0.49363 0.807311 -0.0254688 0.565524; 0.99939 0.343697 0.656857 0.75297 0.370779 0.457276 0.227157 0.380985 0.746872; 0.115782 -0.141594 0.641321 0.454811 0.361862 0.45988 0.252916 0.625687 1.04188; 0.14228 0.439825 0.69971 0.55561 0.569418 0.107439 0.388732 0.958298 0.474661] ≈ [0.363754 0.765193 0.375101 0.233704 0.211147 0.783605 0.0860816 0.519782 0.663798; 0.198544 0.532179 0.717516 0.461893 0.550967 0.165458 0.423572 0.877818 0.408026; 0.130741 0.916492 0.232686 0.353825 0.435243 0.117587 0.776641 0.797967 0.0513654; 0.858371 0.13115 0.488457 0.506966 0.0931911 0.759724 0.745308 0.710306 0.642509; 0.440097 0.758173 0.0839539 0.584331 0.816183 0.133618 0.560938 0.744061 0.327262; 0.306504 0.716419 0.0819959 0.715906 0.61884 0.559557 0.605026 0.0685216 0.225303; 0.938592 0.993868 0.886143 0.148289 0.551161 0.351327 0.548979 0.657168 0.440693; 0.756343 0.938268 0.0376447 0.530546 0.939956 0.832134 0.273947 0.984801 0.706886; 0.508407 0.416703 0.519637 0.795617 0.67315 0.420046 0.264311 0.926308 0.830418]
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/FFTViews/test/runtests.jl:76 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
Test Summary:     | Pass  Fail  Total
convolution-shift |    6    50     56
juliohm commented 6 years ago

Anyone has any idea of what may be happening with FFTViews.jl?

Evizero commented 6 years ago

Grasping for straws here, but I just git pull my 0.6 build and noticed some FFTW log message. might be worth trying to update and see if you still get errors with the latest release-0.6 ?

* 423d4dfcec (HEAD -> release-0.6, origin/release-0.6) Set the VERSION to 0.6.4-pre now that 0.6.3 is tagged (#27327)
* 856938eafd Bumped FFTW 3.3.6 -> 3.3.8 (#27315)
* abcd18b309 upgrade OpenBLAS to 0.3.0
* d55cadc350 (tag: v0.6.3) Set VERSION to 0.6.3 release (#27283)

you may want to give a hard clean a try (or a fresh clone). a simple make clean doesn't clean everything. see https://github.com/JuliaLang/julia#general-troubleshooting

juliohm commented 6 years ago

On the spot @Evizero , finished rebuilding the release-0.6 branch on a clean clone, and the tests are now passing for FFTViews.jl. I am testing the other packages to see if the issue is solved.

juliohm commented 6 years ago

Only one test failed in ImageFiltering.jl, but I guess it is unrelated now:

basic: Test Failed
  Expression: length(tiles) == 1
   Evaluated: 2 == 1
Stacktrace:
 [1] macro expansion at /home/juliohm/.julia/v0.6/ImageFiltering/test/basic.jl:36 [inlined]
 [2] macro expansion at ./test.jl:860 [inlined]
 [3] anonymous at ./<missing>:?
Test Summary: | Pass  Fail  Total
basic         |   25     1     26
ERROR: LoadError: LoadError: Some tests did not pass: 25 passed, 1 failed, 0 errored, 0 broken.
juliohm commented 6 years ago

The tests in ImageInpainting.jl are failing differently now, and for some reason there is a lot of printing happening in the test output, I don't know why. :/ Probably another change in the Plots.jl + GR.jl combination. Time to check it again.

zygmuntszpak commented 6 years ago

@juliohm The remaining test that is failing for you in ImageFiltering.jl is due to https://github.com/JuliaImages/ImageFiltering.jl/issues/63

If you scroll up in this thread you will see that Evizero identified the source of the bug. It should pass for you if you launch Julia with just a single thread.