Skip to content

Commit 9d97233

Browse files
davidlehndlongley
andauthored
Fix conditional.
Co-authored-by: Dave Longley <[email protected]>
1 parent 02d92d3 commit 9d97233

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fromRdf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ function _RDFToObject(o, useNativeTypes, rdfDirection, options) {
366366
} else if(type === XSD_DOUBLE) {
367367
rval['@value'] = parseFloat(rval['@value']);
368368
}
369-
} else if(type == XSD_DOUBLE) {
369+
} else if(type === XSD_DOUBLE) {
370370
// if not numeric and double, include type
371371
// occurs for valid strings such as "+INF", "-INF", and large values
372372
rval['@type'] = type;

0 commit comments

Comments
 (0)