Created
August 12, 2017 16:04
-
-
Save drewrobson/40cf301102213ba9780b95b7b4bbe098 to your computer and use it in GitHub Desktop.
Reduced example demonstrating SegFault or ReadOnlyMemoryError()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Jupyter notebook cell 1 | |
using Interpolations,PyPlot,Images,HDF5,NMF,Optim,NRRD,Lasso | |
# Jupyter notebook cell 2 | |
h5open("test.h5", "w") do file | |
file["test"] = ones(10, 10) | |
end; | |
h5read("test.h5", "test"); | |
data = zeros(UInt8, 1000000000) | |
figure(figsize = (3,3)); imshow(rand(Float32, 10, 10), vmax=10); | |
imfilter(zeros(10, 10), ones(5, 5)); | |
# Jupyter notebook cell 3 | |
Interpolations.offsetsym(0, 2) # segfault or ReadOnlyMemoryError() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment