forked from pool/openEMS
- Update to 0.0.35 * build fixes * critical bug fix in waveguide ports * fix for boxes defined in different coordinate systems * other smaller fixes - patch rename and cleanop, now based on git format-patch * openEMS-vtk.patch to 0001-Fix-linking-for-VTK-6.3.patch * openEMS-octave-openEMS-load.patch to 0002-Fix-openEMS.sh-load.patch * openEMS-octave-nf2ff-load.patch to 0003-Fix-nf2ff-load.patch * openEMS-readme-octave-package.patch to 0004-Add-correct-instruction-about-Octave-and-MATLAB-pack.patch * openEMS-hdf5.patch to 0005-Fix-build-with-HDF5.patch * openEMS-no-return.patch to 0006-Add-missing-return-statement.patch OBS-URL: https://build.opensuse.org/request/show/560067 OBS-URL: https://build.opensuse.org/package/show/science/openEMS?expand=0&rev=14
28 lines
844 B
Diff
28 lines
844 B
Diff
From 7ebbba9d7766e20786a6f0de728c60ba64cabe05 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
|
|
Date: Wed, 27 Dec 2017 08:34:28 +0100
|
|
Subject: [PATCH 3/6] Fix nf2ff load
|
|
|
|
---
|
|
matlab/CalcNF2FF.m | 4 +---
|
|
1 file changed, 1 insertion(+), 3 deletions(-)
|
|
|
|
diff --git a/matlab/CalcNF2FF.m b/matlab/CalcNF2FF.m
|
|
index c80b52e4a9ff..d782248821a4 100644
|
|
--- a/matlab/CalcNF2FF.m
|
|
+++ b/matlab/CalcNF2FF.m
|
|
@@ -99,9 +99,7 @@ m_filename = mfilename('fullpath');
|
|
dir_name = fileparts( m_filename );
|
|
|
|
if isunix
|
|
- nf2ff_bin = searchBinary('nf2ff', ...
|
|
- {[dir_name filesep '..' filesep 'nf2ff' filesep], ...
|
|
- [dir_name filesep '..' filesep '..' filesep '..' filesep 'bin' filesep]}, 0);
|
|
+ nf2ff_bin = 'nf2ff';
|
|
else
|
|
nf2ff_bin = searchBinary('nf2ff.exe',[dir_name filesep '..' filesep], 0);
|
|
end
|
|
--
|
|
2.15.1
|
|
|