0023850: TDataStd_ByteArray is too slow on storage on disk
[occt.git] / src / PLib / PLib_HermitJacobi.cxx
index 96152f7..4e7b7bc 100755 (executable)
@@ -21,7 +21,7 @@
 
 #include <PLib_HermitJacobi.ixx>
 #include <PLib.hxx>
-#include <PLib_LocalArray.hxx>
+#include <NCollection_LocalArray.hxx>
 #include <TColStd_HArray1OfReal.hxx>
 
 //=======================================================================
@@ -149,11 +149,11 @@ void PLib_HermitJacobi::D0123(const Standard_Integer NDeriv,
                              TColStd_Array1OfReal& BasisD2,
                              TColStd_Array1OfReal& BasisD3)
 {
-  PLib_LocalArray jac0 (4 * 20);
-  PLib_LocalArray jac1 (4 * 20);
-  PLib_LocalArray jac2 (4 * 20);
-  PLib_LocalArray jac3 (4 * 20);
-  PLib_LocalArray wvalues (4);
+  NCollection_LocalArray<Standard_Real> jac0 (4 * 20);
+  NCollection_LocalArray<Standard_Real> jac1 (4 * 20);
+  NCollection_LocalArray<Standard_Real> jac2 (4 * 20);
+  NCollection_LocalArray<Standard_Real> jac3 (4 * 20);
+  NCollection_LocalArray<Standard_Real> wvalues (4);
 
   Standard_Integer i, j;
   Standard_Integer NivConstr  = this->NivConstr(),