A = cat(1, A, u_row);
end
- ## Finally, append the last row for xN.
- A = cat(1, A, u_xN_coeffs);
+ ## Finally, append the last row for xN and negate the whole thing (see
+ ## the definition of the poisson problem).
+ A = - cat(1, A, u_xN_coeffs);
end