[gvar] Minor always pass cache

We now check for access in calculate_scalar(), so no need to
check fof error here.
This commit is contained in:
Behdad Esfahbod committed 2023-04-28 14:38:34 -06:00
1 parent 06504cb0a2
commit 4a102effd0
1 file changed
+1 -1
+1 -1
View File
@@ -301,7 +301,7 @@ struct gvar
do
{
float scalar = iterator.current_tuple->calculate_scalar (coords, num_coords, shared_tuples,
shared_tuple_active_idx.in_error () ? nullptr : &shared_tuple_active_idx);
&shared_tuple_active_idx);
if (scalar == 0.f) continue;
const HBUINT8 *p = iterator.get_serialized_data ();
unsigned int length = iterator.current_tuple->get_data_size ();