# Weird duplicated entries with different values in SparseMatrixCSC

**URL:** <https://discourse.julialang.org/t/weird-duplicated-entries-with-different-values-in-sparsematrixcsc/58449>\
**Category:** General Usage\
**Tags:** question\
**Created:** [April 2, 2021, 2:33pm UTC](https://discourse.julialang.org/t/weird-duplicated-entries-with-different-values-in-sparsematrixcsc/58449 "2021-04-02T14:33:19Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [April 2, 2021, 2:58pm UTC](https://discourse.julialang.org/t/weird-duplicated-entries-with-different-values-in-sparsematrixcsc/58449/2 "2021-04-02T14:58:30Z")

</div>

> [@Richard-Li](#):
>
> A **weird** thing happened: 8×8 sparse matrix has 151 stored entries!

Are you sure that your inputs are well-formed? Are you creating them using the exposed API, or `SparseMatrixCSC`? Generally, I would recommend using the API, the constructor is internal.

If you are sure that your inputs are valid, then please construct an MWE to demonstrate the problem, as it may indicate a bug.

> [@Please read: make it easier to help you](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757):
>
> Welcome to the Julia Discourse! We are enthusiastic about helping Julia programmers, both beginner and experienced. This public service announcement (PSA) outlines best practices when asking for help. Following these points makes it easier for us to help you and more likely you’ll get a prompt, useful answer. Keywords are highlighted to make it easier to refer to specific points. Choose a descriptive title that captures the key part of your question, eg “plots with multiple axes” instead of …

---

_[View the full topic](https://discourse.julialang.org/t/weird-duplicated-entries-with-different-values-in-sparsematrixcsc/58449)._
