From 74b673ba4a706085201a5610b938ff98f08f641d Mon Sep 17 00:00:00 2001 From: ziejd2 Date: Wed, 25 Apr 2018 16:43:19 -0500 Subject: Bug fixes, code comments, and minor changes --- sourcecodes/bnt-master/BNT/potentials/@cgpot/marginalize_pot.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sourcecodes/bnt-master/BNT/potentials/@cgpot/marginalize_pot.m') diff --git a/sourcecodes/bnt-master/BNT/potentials/@cgpot/marginalize_pot.m b/sourcecodes/bnt-master/BNT/potentials/@cgpot/marginalize_pot.m index 4e666b1a..e37e86a4 100644 --- a/sourcecodes/bnt-master/BNT/potentials/@cgpot/marginalize_pot.m +++ b/sourcecodes/bnt-master/BNT/potentials/@cgpot/marginalize_pot.m @@ -78,7 +78,7 @@ if 0 && bigpot.subtype == 'c' jdepends = 0; for i=1:I for j=2:J - if ~approxeq(h1(:,j,i), h1(:,1,i)) | ~approxeq(K1(:,:,j,i), K1(:,:,1,i)) + if ~approxeq(h1(:,j,i), h1(:,1,i)) || ~approxeq(K1(:,:,j,i), K1(:,:,1,i)) jdepends = 1; break end -- cgit 1.4.1