Skip to content

Commit d49ae0f

Browse files
committed
2 parents 196ffd6 + 86c7b12 commit d49ae0f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

scripts/script_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def load_pipeline(pipeline_path):
234234

235235
def get_logger(log_path, level=logging.INFO):
236236
# Create the logging file handler
237-
logger = multiprocessing.get_logger()
237+
logger = logging.get_logger(log_path)
238238
logger.setLevel(level)
239239
if os.path.exists(log_path):
240240
os.remove(log_path)

src/parameterization/layout.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,7 @@ std::tuple<std::vector<Scalar>, std::vector<Scalar>, std::vector<bool>> compute_
487487
int h = 0;
488488
if (start_h == -1) {
489489
for (int i = 0; i < m.n_halfedges(); i++) {
490+
if (m.type[i] == 0) break;
490491
if (m.type[i] == 1 && m.type[m.opp[i]] == 2) {
491492
h = m.n[m.n[i]];
492493
spdlog::debug("Using edge {} as layout start", h);

0 commit comments

Comments
 (0)