ubsuny / 23-Homework6G5

MIT License
0 stars 8 forks source link

Issue with zero divisor #20

Closed tirthbha closed 10 months ago

tirthbha commented 10 months ago

@poojashresthacode I found somewhere that you are struggling to resolve the RuntimeWarning: divide by zero encountered in divide return np.where(x !=0, np.cos(1/x),0). I have sent to this group a merge request regarding this issue. You can take that code as a reference.

poojashresthacode commented 10 months ago

Yeah, I already resolved that. Your efforts are much appreciated.

tirthbha commented 10 months ago

Thank you