Skip to content

duplicate points on the circumference #17

@sh9park

Description

@sh9park

Hi,

In the following two lines, I guess we need to avoid including two of the same points ( 0 = np.pi*2 )?

z = np.linspace(0, np.pi * 2, n)

z = np.linspace(0, np.pi * 2, n)

z = np.linspace(0, np.pi * 2, n)

to

z = np.linspace(0, np.pi * 2, n, endpoint=False)

In the reposition part (

for i in range(n_samples):
),
I guess it makes sense not to include the edge points twice.

Please let me know if I am wrong. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions