I am trying to use the function _generate_2d_nodes! which is available in JuAFEM. But it shows an error. Below is my code
using Tensors, JuAFEM
M =_generate_2d_nodes!(44, 21, 21, Vec{2}((0.0,4.5)), Vec{2}((0.5,4.5)), Vec{2}((0.5,5.0)), Vec{2}((0.0,5.0)))
The error which I am getting
MethodError: no method matching push!(::Int64, ::Node{2,Float64})
Closest candidates are:
push!(::Any, ::Any, !Matched::Any) at abstractarray.jl:2252
push!(::Any, ::Any, !Matched::Any, !Matched::Any…) at abstractarray.jl:2253
push!(!Matched::Base.Nowhere, ::Any) at array.jl:1347
…