about summary refs log tree commit diff
path: root/sourcecodes/bnt-master/BNT/potentials/@upot/approxeq_pot.m
blob: de47ee129d28e8a840457714f21713ce93d345ee (plain)
1
2
3
4
5
function p = approxeq_pot(A, B, tol)

if nargin < 3, tol = 1e-3; end

p = approxeq(A.p, B.p, tol) & approxeq(A.u, B.u, tol);