Understanding allocations

Your Mesh isn’t strictly typed. Do:

@with_kw mutable struct Mesh
	V::Matrix{Float64} = randn(100,110)
end
1 Like