Commit 549703b2 authored by D'azevedo, Ed's avatar D'azevedo, Ed
Browse files

call dmrg_init()

parent a5b68e4f
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -13,6 +13,14 @@ BatchedGemm<FpType>::BatchedGemm(int noperator,
                                 FpType **Bmatrix,
                                 int *ld_Bmatrix)
{
  
        if (!is_initialized) {
            dmrg_init();

            const int ltrue = (1 == 1 );
            is_initialized = ltrue;
            };

	noperator_ = noperator;
	npatches_ = npatches;

+1 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ class BatchedGemm<FpType> {

private:

       static int is_initialized;
       static const bool use_sparse =  true;

	IntegerType *left_patch_start_;