1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/cad/py-ocp/files/patch-OCCT_OpenGl__HaltonSampler.hxx
Steve Wills e5e1215114 cad/py-ocp: create port
OCP is a Python wrapper for OCCT (OpenCascade) generated using pywrap
primarily used by CadQuery.

WWW: https://github.com/CadQuery/OCP

PR:		248202
Submitted by:	Neal Nelson <ports@nicandneal.net>
2020-08-16 12:53:47 +00:00

12 lines
400 B
C++

--- OCCT/OpenGl_HaltonSampler.hxx.orig 2020-06-15 08:29:45 UTC
+++ OCCT/OpenGl_HaltonSampler.hxx
@@ -180,7 +180,7 @@ void OpenGl_HaltonSampler::initRandom (Random_number_g
{
aPerms[aBase][i] = i;
}
- std::random_shuffle (aPerms[aBase].begin(), aPerms[aBase].end(), theRand);
+ std::shuffle (aPerms[aBase].begin(), aPerms[aBase].end(), theRand);
}
initTables (aPerms);
}