diff options
author | David Robillard <d@drobilla.net> | 2014-11-03 16:53:00 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-11-03 16:53:00 +0000 |
commit | 48a7a16305781c3b728abb7086caa425db5f4124 (patch) | |
tree | 5bbd3d06009db3d398d7ee07be4c8f2d8958a4bd /src/sord.c | |
parent | 577ac66a5905f16934892ca3df995b590d06ba34 (diff) | |
download | sord-48a7a16305781c3b728abb7086caa425db5f4124.tar.gz sord-48a7a16305781c3b728abb7086caa425db5f4124.tar.bz2 sord-48a7a16305781c3b728abb7086caa425db5f4124.zip |
Fix bugs with stores that contain both graphs and default graph statements.
git-svn-id: http://svn.drobilla.net/sord/trunk@315 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src/sord.c')
-rw-r--r-- | src/sord.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1194,7 +1194,7 @@ sord_add(SordModel* sord, const SordQuad tup) memcpy(quad, tup, sizeof(SordQuad)); for (unsigned i = 0; i < NUM_ORDERS; ++i) { - if (sord->indices[i]) { + if (sord->indices[i] && (i < GSPO || tup[3])) { if (!sord_add_to_index(sord, quad, (SordOrder)i)) { assert(i == 0); // Assuming index coherency free(quad); |