@@ -206,26 +206,19 @@ impl<T: FieldElement, FixedEval: FixedEvaluator<T>> DebugFormatter<'_, T, FixedE
206
206
}
207
207
let [ name, value, rc] = match e {
208
208
Expression :: Reference ( r) => {
209
- let ( value, range_constraint) = match r. poly_id . ptype {
210
- PolynomialType :: Committed | PolynomialType :: Constant => {
211
- let variable = Variable :: from_reference ( r, row_offset) ;
212
- let value = self . witgen . value ( & variable) . to_string ( ) ;
213
- let rc = self . witgen . range_constraint ( & variable) ;
214
- let rc = if rc == RangeConstraint :: default ( )
215
- || rc. try_to_single_value ( ) . is_some ( )
216
- {
209
+ let ( value, range_constraint) = {
210
+ let variable = Variable :: from_reference ( r, row_offset) ;
211
+ let value = self . witgen . value ( & variable) . to_string ( ) ;
212
+ let rc = self . witgen . range_constraint ( & variable) ;
213
+ let rc =
214
+ if rc == RangeConstraint :: default ( ) || rc. try_to_single_value ( ) . is_some ( ) {
217
215
// Empty string also for single value, since it is already
218
216
// printed in the "value" line.
219
217
String :: new ( )
220
218
} else {
221
219
rc. to_string ( )
222
220
} ;
223
- ( value, rc)
224
- }
225
- PolynomialType :: Intermediate => {
226
- // TODO we should format the contained intermediates separately.
227
- ( "<intermediate>" . to_string ( ) , String :: new ( ) )
228
- }
221
+ ( value, rc)
229
222
} ;
230
223
[ r. to_string ( ) , value, range_constraint]
231
224
}
0 commit comments