raysect / source

The main source repository for the Raysect project.
http://www.raysect.org
BSD 3-Clause "New" or "Revised" License
86 stars 23 forks source link

SqrtxD functions have incorrect verification #364

Closed jacklovell closed 4 years ago

jacklovell commented 4 years ago

In Sqrt1D.evaluate etc, there is a check for x < 0. It should be a check for self._function.evaluate(x) < 0.

CnlPepper commented 4 years ago

Damn that was a silly mistake, disappointing that escaped into the wild. I'm fixing it right now.