From 5ff504dde9d22ba80b58e23d1d58cf03bc2a6693 Mon Sep 17 00:00:00 2001 From: Srinivas Gorur-Shandilya Date: Mon, 22 Jun 2020 14:21:48 -0400 Subject: [PATCH] fixed a bug where multiple C++ compilers threw an error --- @xolotl/rebase.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/@xolotl/rebase.m b/@xolotl/rebase.m index e58bff33..3ac1b8fa 100644 --- a/@xolotl/rebase.m +++ b/@xolotl/rebase.m @@ -56,10 +56,10 @@ function rebase(self) cc = mex.getCompilerConfigurations('C++'); -if length(cc) == 1 +if length(cc) > 0 compilerok = true; end setpref('xolotl','compilerok',compilerok) -corelib.assert(length(cc)==1,'No C++ compiler found. xolotl will not be able to run! ') \ No newline at end of file +corelib.assert(compilerok,'No C++ compiler found. xolotl will not be able to run! ') \ No newline at end of file