Skip to content

Commit

Permalink
Compatibility fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreSenellart committed Sep 4, 2024
1 parent d30f35d commit 36c9511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/provsql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ BEGIN
IF prov <> gate_one() AND result <> 0. THEN
result := result/probability_evaluate(prov, method, arguments);
END IF;
RETURN result;
RETURN CAST(result AS DOUBLE PRECISION);
END
$$ LANGUAGE plpgsql PARALLEL SAFE;

Expand Down

0 comments on commit 36c9511

Please sign in to comment.