# UNQ\_C4 all test passed, but displays different B\_sub

**URL:** <https://community.deeplearning.ai/t/unq-c4-all-test-passed-but-displays-different-b-sub/136035>\
**Category:** NLP with Probabilistic Models\
**Tags:** week-module-2\
**Created:** [June 8, 2022, 2:55pm UTC](https://community.deeplearning.ai/t/unq-c4-all-test-passed-but-displays-different-b-sub/136035 "2022-06-08T14:55:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CaoCao](https://avatars.discourse-cdn.com/v4/letter/c/7993a0/32.png) [@CaoCao](https://community.deeplearning.ai/u/CaoCao)\
**Post date:** [June 8, 2022, 2:55pm UTC](https://community.deeplearning.ai/t/unq-c4-all-test-passed-but-displays-different-b-sub/136035/1 "2022-06-08T14:55:02Z")

</div>

I passed all the test for UNQ\_C4, but the B\_sub displays the matrix differently.  
My B\_sub is all zero. I checked the whole B and all the elements after 45th column are zero. Can anyone help me with this issue?

 ![Screen Shot 2022-06-08 at 23.50.24](https://global.discourse-cdn.com/dlai/original/3X/7/a/7a16dfd5ff9e088ece9a00034694aa9f3f1a858b.png)

---

<div class="post-metadata">

**Author:** ![CaoCao](https://avatars.discourse-cdn.com/v4/letter/c/7993a0/32.png) [@CaoCao](https://community.deeplearning.ai/u/CaoCao)\
**Post date:** [June 8, 2022, 3:00pm UTC](https://community.deeplearning.ai/t/unq-c4-all-test-passed-but-displays-different-b-sub/136035/2 "2022-06-08T15:00:04Z")

</div>

Solved! I set the wrong range for j.

---

<div class="post-metadata">

**Author:** ![reinoudbosch](https://avatars.discourse-cdn.com/v4/letter/r/22d042/32.png) [@reinoudbosch](https://community.deeplearning.ai/u/reinoudbosch)\
**Post date:** [June 12, 2022, 12:07am UTC](https://community.deeplearning.ai/t/unq-c4-all-test-passed-but-displays-different-b-sub/136035/3 "2022-06-12T00:07:08Z")

</div>

Closed on June 12, 2022, 12:07am UTC


