about summary refs log tree commit diff
path: root/sourcecodes/bnt-master/BNT/potentials/@mpot/rescale_pot.m
blob: 39d1809dc491a7b7bb73453344be16831fe716f4 (plain)
1
2
3
4
5
function pot = rescale_pot(pot, s)
% RESCALE_POT Add a constant to the mpot scale factor.
% pot = rescale_pot(pot, s)

pot.logp = pot.logp + s;