[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [pooma-dev] Field semantics
From: |
Richard Guenther |
Subject: |
RE: [pooma-dev] Field semantics |
Date: |
Tue, 30 Apr 2002 21:05:56 +0200 (CEST) |
On Tue, 30 Apr 2002, James Crotinger wrote:
> I have to say that I'm surprised that this wasn't caught by some assertion.
>
> You don't give all of the details, but it looks like the problem was due to
> a domain mismatch. When you say
>
> T * rh
>
> This operation is, I believe, only performed on the "physical" domain - i.e.
Ah, ok - that makes sense. For a simple
rh(rh.totalDomain()) = T;
I dont need to specify the domain of T? I assumed a conforming domain gets
selected by the engine for the RHS...
> it is not extended into the guards. But your p(It) explicitly says to assign
> into the guards (since It is the "totalDomain", which includes the guards).
> Now, given that the domain of the RHS is not the same as the domain of the
> LHS, this ought to raise an exception somewhere.
Hmm - I compiled the pooma lib with optimizations (i.e. assertions off),
but my program with debugging and assertions not switched off - maybe the
exception in question is not raised within templated code. I'll try
re-building pooma with debugging information (but it gets slow as hell).
Thanx, Richard.