Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Add RCN example for PGMax #73

Closed
wants to merge 11 commits into from

Conversation

lawchekun
Copy link

Add RCN example, first pass

examples/rcn_example.py Outdated Show resolved Hide resolved
examples/rcn_example.py Outdated Show resolved Hide resolved

for i in range(min_row, max_row):
for j in range(min_col, max_col):
euclidean_dist = ((row - i) ** 2 + (col - j)) ** 0.5
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You missed a ** 2 here (should be (col - j) ** 2)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah thanks! Good catch!

@StannisZhou
Copy link
Contributor

Closing due to transition to public repo. Reopen if needed

@StannisZhou StannisZhou closed this Nov 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants