mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
The development iof ATLAS seems stalled, but some people still use it: upgrade it to the latest stable version, to support some more platforms. Changelog available from <https://sourceforge.net/projects/math-atlas/files/Stable/3.10.3/ChangeLog/download>. Next step: resurrect atlas-devel and upgrade it to the latest "unstable release", 3.11.41, dated 2018-10-05…
12 lines
344 B
C
12 lines
344 B
C
--- include/atlas_genparse.h.orig 2016-07-28 19:42:59 UTC
|
|
+++ include/atlas_genparse.h
|
|
@@ -163,7 +163,8 @@ static int GetDoubleArr(char *str, int N, double *d)
|
|
if (!str)
|
|
break;
|
|
str++;
|
|
- assert(sscanf(str, "%le", d+i) == 1);
|
|
+ if (sscanf(str, "%le", d+i) != 1)
|
|
+ break;
|
|
i++;
|
|
}
|
|
return(i);
|