Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
merge latest ddpmopt.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsofcotton authored Apr 7, 2024
1 parent 10da7ae commit 2d1fb53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lieonn.hh
Original file line number Diff line number Diff line change
Expand Up @@ -4021,7 +4021,7 @@ template <typename T> static inline vector<vector<SimpleMatrix<T> > > normalize(
for(int k = 0; k < data[kk].size(); k ++)
for(int i = 0; i < data[kk][k].rows(); i ++)
for(int j = 0; j < data[kk][k].cols(); j ++) {
if(isfinite(result[k][k](i, j)) && ! isinf(data[kk][k](i, j)) && ! isnan(result[kk][k](i, j)))
if(isfinite(result[kk][k](i, j)) && ! isinf(data[kk][k](i, j)) && ! isnan(result[kk][k](i, j)))
result[kk][k](i, j) -= mm;
else
result[kk][k](i, j) = T(0);
Expand Down

0 comments on commit 2d1fb53

Please sign in to comment.