1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 03:30:27 +02:00

(SCM_VALIDATE_VECTOR_OR_DVECTOR): Accept f64vectors instead of the

old-style dvectors.
This commit is contained in:
Marius Vollmer 2004-11-02 19:46:29 +00:00
parent bbe6ba2366
commit df47dca314

View file

@ -358,7 +358,7 @@
#define SCM_VALIDATE_VECTOR_OR_DVECTOR(pos, v) \
do { \
SCM_ASSERT ((SCM_VECTORP (v) \
|| (!SCM_IMP (v) && SCM_TYP7 (v) == scm_tc7_dvect)), \
|| (scm_is_true (scm_f64vector_p (v)))), \
v, pos, FUNC_NAME); \
} while (0)