Commit 58695078 authored by Mintz, Tiffany's avatar Mintz, Tiffany
Browse files

fixed shared pointer errors

parent 26e3335b
......@@ -8,7 +8,7 @@ void TensorRuntime::openScope(const std::string &scopeName) {
currentScope = scopeName;
// create new graph with name given by scope name
// store it in the dags map
dags[currentScope] = std::make_shared<TensorGraph>();
dags[currentScope] = std::shared_ptr<TensorGraph>(new DirectedBoostGraph());
}
void TensorRuntime::closeScope() { currentScope = ""; }
......
......@@ -8,7 +8,8 @@
#include "TensorGraph.hpp"
#include "tensor.hpp"
#include "tensor_operation.hpp"
#include "tensor_method.hpp"
#include "DirectedBoostGraph.hpp"
include "tensor_method.hpp"
namespace exatn {
namespace runtime {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment