Commit 5695379d authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

tensorEval: with log level

parent 6ee89aa0
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -275,9 +275,11 @@ public:
		const TensorBlobType& data_;
	};

	static void init()
	static void init(int n = 0)
	{
		exatn::initialize();
		if (n > 0)
			exatn::resetRuntimeLoggingLevel(n);
	}

	static void finalize()
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ int main(int argc, char **argv)

	SizeType dim0 = 5;
	typedef TensorEvalType::TensorType TensorType;
	TensorType::init();
	TensorType::init(2);
	TensorEvalType::VectorTensorType vt(3);

	TensorEvalType::VectorSizeType d(2, dim0);