Quantcast
Channel: First steps - JuliaLang
Viewing all articles
Browse latest Browse all 2795

Checking if two values are identical

$
0
0

I am attempting to check if two values are identical and then do stuff if they are not. My check involves:

stock[id,3] != flow[v,3]

Unfortunately, I can get the following

Any[0]

and

0

and Julia interprets that as being different.

What beginner’s trap have I stumbled into?

18 posts - 7 participants

Read full topic


Viewing all articles
Browse latest Browse all 2795

Latest Images

Trending Articles



Latest Images