hw4/3_integration.jl: fix devectorized code