You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please replace the lines 55 and 56 in synthWBmodel class and the lines 55 and 56 in synthWBmodel_GPU class with the following lines: diff_u=abs(repmat(Iu,[1,size(A,2)])-repmat(A,[size(Iu,1),1])); diff_v=abs(repmat(Iv,[1,size(A,2)])-repmat(A,[size(Iv,1),1]));
The old Matlab versions don't offer this broadcasting operation. In the new versions of Matlab, this repmat operation is automatically applied when the first/second operand is a single row vector and the second/first operand is a single column.
The text was updated successfully, but these errors were encountered:
If you faced the following error in Matlab:
Please replace the lines 55 and 56 in synthWBmodel class and the lines 55 and 56 in synthWBmodel_GPU class with the following lines:
diff_u=abs(repmat(Iu,[1,size(A,2)])-repmat(A,[size(Iu,1),1]));
diff_v=abs(repmat(Iv,[1,size(A,2)])-repmat(A,[size(Iv,1),1]));
The old Matlab versions don't offer this broadcasting operation. In the new versions of Matlab, this
repmat
operation is automatically applied when the first/second operand is a single row vector and the second/first operand is a single column.The text was updated successfully, but these errors were encountered: