Commit 206c5721 authored by RF's avatar RF
Browse files

Fix strstr comparison

	modified:   core.cpp
parent 3daf72c9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1848,7 +1848,7 @@ void CORE::compute_EFDE_coefs_save_parallel()
			{
				while ((de = readdir(dr)) != NULL)
				{
					if (strstr(de->d_name, "ctrb")>0)
					if (strstr(de->d_name, "ctrb")!=NULL)
					{
						sprintf(fn,"%s/%s",dn,de->d_name);
						ifstream gin(fn);
@@ -1872,7 +1872,7 @@ void CORE::compute_EFDE_coefs_save_parallel()
			{
				while ((de = readdir(dr)) != NULL)
				{
					if (strstr(de->d_name, "ctrb")>0)
					if (strstr(de->d_name, "ctrb")!=NULL)
					{
						sprintf(fn,"%s/%s",dn,de->d_name);
						ifstream gin(fn);