begriffs / pg_rational

Precise fractional arithmetic for PostgreSQL
MIT License
233 stars 14 forks source link

Fix rational_intermediate(NULL, NULL) #6

Closed begriffs closed 5 years ago

begriffs commented 6 years ago

Originally I guarded against this case and returned null, but it plays a role in creating an element in an empty table. I should remove the guard and allow it to return 1/1 as it otherwise would.