From 866bddcedfaa49ef29d33a3abefe728844d99fdd Mon Sep 17 00:00:00 2001 From: Manas Rachh Date: Mon, 1 Apr 2024 16:49:05 -0500 Subject: [PATCH] fixing absolute path issues --- chunkie/+chnk/+axissymhelm2d/load_asym_tables.m | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/chunkie/+chnk/+axissymhelm2d/load_asym_tables.m b/chunkie/+chnk/+axissymhelm2d/load_asym_tables.m index 6e5664d..945a0f0 100644 --- a/chunkie/+chnk/+axissymhelm2d/load_asym_tables.m +++ b/chunkie/+chnk/+axissymhelm2d/load_asym_tables.m @@ -1,8 +1,10 @@ function asym_tables = load_asym_tables() %CHNK.AXISSYMHELM2D.load_asym_tables loads the precomputed tables % for axissymmetric Helmholtz kernels - - load('asym_helm_data.mat','allvs'); + p = mfilename('fullpath'); + dirname = dir([p ,'.m']).folder; + fname = [dirname '/asym_helm_data.mat']; + load(fname,'allvs'); ncheb = 12; xcheb = (0:(ncheb-1))/(ncheb-1)*pi;