Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.

Commit 5ff504d

Browse files
committed
fixed a bug where multiple C++ compilers threw an error
1 parent b3dc83b commit 5ff504d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

@xolotl/rebase.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ function rebase(self)
5656

5757
cc = mex.getCompilerConfigurations('C++');
5858

59-
if length(cc) == 1
59+
if length(cc) > 0
6060
compilerok = true;
6161
end
6262

6363
setpref('xolotl','compilerok',compilerok)
6464

65-
corelib.assert(length(cc)==1,'No C++ compiler found. xolotl will not be able to run! ')
65+
corelib.assert(compilerok,'No C++ compiler found. xolotl will not be able to run! ')

0 commit comments

Comments
 (0)