# How to upgrade code for a symmetric distance matrix from julia-1.0 to julia-1.6

**URL:** https://discourse.julialang.org/t/how-to-upgrade-code-for-a-symmetric-distance-matrix-from-julia-1-0-to-julia-1-6/77302
**Category:** General Usage
**Created:** [March 2, 2022, 2:04pm UTC](https://discourse.julialang.org/t/how-to-upgrade-code-for-a-symmetric-distance-matrix-from-julia-1-0-to-julia-1-6/77302 "2022-03-02T14:04:42Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)
#### Post date: [March 2, 2022, 2:07pm UTC](https://discourse.julialang.org/t/how-to-upgrade-code-for-a-symmetric-distance-matrix-from-julia-1-0-to-julia-1-6/77302/2 "2022-03-02T14:07:47Z")

</div>

What is `N`? What is `d2`? What is `z_pred`? I’ll stop there, my point is basically make an MWE so that people can reproduce your issues, and ideally read:

> [@Please read: make it easier to help you](https://discourse.julialang.org/t/please-read-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/how-to-upgrade-code-for-a-symmetric-distance-matrix-from-julia-1-0-to-julia-1-6/77302)._
