diff --git a/l2gv2/manopt_optimization.py b/l2gv2/manopt_optimization.py index 15b87c8..be916f8 100644 --- a/l2gv2/manopt_optimization.py +++ b/l2gv2/manopt_optimization.py @@ -8,8 +8,7 @@ import pymanopt.manifolds import pymanopt.optimizers import numpy as np -import local2global as l2g - +from .patch import utils as ut from .patch.patch import Patch @@ -466,7 +465,7 @@ def cost(*R): translations = result.point[n_patches : 2 * n_patches] scales = result.point[2 * n_patches :] - emb_problem = l2g.AlignmentProblem(patches) + emb_problem = ut.AlignmentProblem(patches) if emb_problem.n_nodes is None or emb_problem.dim is None: raise ValueError("Both n_nodes and dim must be set to integer values.")