[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Fix PrintField wrt expressions
From: |
Richard Guenther |
Subject: |
[PATCH] Fix PrintField wrt expressions |
Date: |
Wed, 14 Jan 2004 12:11:56 +0100 (CET) |
Hi!
The following patch allows to print Fields with expression engines.
PrintField uses applyRelations() while it should use a tree-walk with
PerformUpdateTag.
Ok?
Richard.
2004Jan14 Richard Guenther <address@hidden>
* src/Field/PrintField.h: use forEach(,PerformUpdateTag(),) rather
than applyRelations().
===== PrintField.h 1.3 vs edited =====
--- 1.3/r2/src/Field/PrintField.h Wed Dec 3 12:30:41 2003
+++ edited/PrintField.h Wed Jan 14 12:01:09 2004
@@ -231,7 +231,7 @@
template<class S, class A>
void print(S &s, const A &a) const
{
- a.applyRelations();
+ forEach(a, PerformUpdateTag(), NullCombine());
Pooma::blockAndEvaluate();
for (int m = 0; m < a.numMaterials(); m++)
- [PATCH] Fix PrintField wrt expressions,
Richard Guenther <=