DALL-E
DALL-E copied to clipboard
Update utils.py
Removed the need to import math by implementing another method to calculate a sqrt.
But why?
But why?
he wanted to contribute to this code someway hahaha
But why?
Removes the need for an import and improves efficiency, even if not by much.
You didn't suggest any changes.
Hi guys, I was just looking some PR's to see if there was any new improvement and found this. I am not sure but I believe that math.sqrt gives you and porper error if the sqrt is negative, and @NomsterDude 's changes could fail withou and proper error. Hope I've helped 👍🏼
Hi guys, I was just looking some PR's to see if there was any new improvement and found this. I am not sure but I believe that math.sqrt gives you and porper error if the sqrt is negative, and @NomsterDude 's changes could fail withou and proper error. Hope I've helped 👍🏼
Good to know! Thanks for the reply!