Merge remote-tracking branch 'jpfeifer/master'

time-shift
Sébastien Villemot 2012-05-21 18:33:25 +02:00
commit dc5a952bd9
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ function dxp=getPowerDeriv(x,p,k)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
if (abs(x) < 1e-12) && (p > 0) && (k >= p) && (abs(p - round(p)) < 1e-12)
if (abs(x) < 1e-12) && (p > 0) && (k > p) && (abs(p - round(p)) < 1e-12)
dxp = 0;
else
dxp = x^(p-k);