Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ayzk committed Feb 3, 2022
1 parent e784785 commit 2d004b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/SZ3/utils/QuantOptimizatioin.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define SZ_optimize_quant_intervals_hpp

#include <vector>
#include "SZ3/predictor/MetaLorenzoPredictor.hpp"

namespace SZ {

Expand Down Expand Up @@ -105,7 +106,7 @@ namespace SZ {
float pred_err = 0;
int radius = (QuantIntvMeanCapacity >> 1);
while (data_pos - data < len) {
pred_value = lorenzo_predict_3d(data_pos, r23, r3);
pred_value = SZMETA::lorenzo_predict_3d(data_pos, r23, r3);
pred_err = fabs(pred_value - *data_pos);
if (pred_err < precision) freq_count++;
pred_index = (pred_err / precision + 1) / 2;
Expand Down

0 comments on commit 2d004b2

Please sign in to comment.