[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A mess with GOOPS
From: |
Panicz Maciej Godek |
Subject: |
Re: A mess with GOOPS |
Date: |
Tue, 6 Sep 2011 12:17:52 +0200 |
2011/9/6, Panicz Maciej Godek <address@hidden>:
> OK, you were right :)
> I made a small change -- instead of namiing my new class
> <generalized-array>, I simply named it <array>, so that the smob name
> overlaps with the class name. I don't know if it's a proper
> programming style, but it's simple and it works.
>
> There is, however, another problem that I've observed. I don't know if
> it is caused by my modification, but both array-shape and
> array-dimensions return the following error:
>
> While compiling expression:
> ERROR: In procedure vector-length: Wrong type argument in position 1
>
Oh, and I forgot to mention -- the error appears when I try
to apply these funtions to regular (non-typed) array with rank > 1.
It works for typed arrays, vectors and uvecs.
I'll try to look for the reason of this and let you know if I find
anything interesting.
Regards,
M.