Skip to content

Commit

Permalink
Update matrix_exponential.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
poliu2s committed Jul 6, 2013
1 parent 2a91890 commit 3caa94e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matrix_exponential.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ double* matrix_exponential(double* matrix, double* result)
//m_exp = m_exp + M_power/factorial(i);
for(int x = 0; x < 16; x++) tmpM1[x] = M_power[x] / factorial_i;

vdAdd(sxtn, result, tmpM1, result);
vdAdd(16, result, tmpM1, result);

//M_power = M_power * M_small;
cblas_dcopy(16, M_power, 1, M_power1, 1);
Expand Down

0 comments on commit 3caa94e

Please sign in to comment.