File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -777,7 +777,7 @@ <h2>Detailed Comparison</h2>
777777 const matches = data . filter ( elem =>
778778 ( ( selectors . tuned . yes && elem . tuned === "yes" ) || ( selectors . tuned . no && elem . tuned === "no" ) ) &&
779779 ( ( selectors . opensource . yes && elem . proprietary === "no" ) || ( selectors . opensource . no && elem . proprietary === "yes" ) ) &&
780- ( ( selectors . hardware . cpu && elem . hardware === "cpu" ) || ( selectors . hardware . gpu && elem . hardware === "gpu" ) ) ) ;
780+ ( ( selectors . hardware . cpu && ( elem . hardware === "cpu" || ! elem . hardware ) ) || ( selectors . hardware . gpu && elem . hardware === "gpu" ) ) ) ;
781781
782782 function apply ( container , getValues ) {
783783 const allowed = new Set ( matches . flatMap ( getValues ) . map ( x => String ( x ) ) ) ;
@@ -1083,7 +1083,7 @@ <h2>Detailed Comparison</h2>
10831083 elem . tags . filter ( type => selectors . type [ type ] ) . length > 0 &&
10841084 ( ( selectors . tuned . yes && elem . tuned === "yes" ) || ( selectors . tuned . no && elem . tuned === "no" ) ) &&
10851085 ( ( selectors . opensource . yes && elem . proprietary === "no" ) || ( selectors . opensource . no && elem . proprietary === "yes" ) ) &&
1086- ( ( selectors . hardware . cpu && elem . hardware === "cpu" ) || ( selectors . hardware . gpu && elem . hardware === "gpu" ) )
1086+ ( ( selectors . hardware . cpu && ( elem . hardware === "cpu" || ! elem . hardware ) ) || ( selectors . hardware . gpu && elem . hardware === "gpu" ) )
10871087 ) ;
10881088
10891089 /// Filter out unreasonable entries
You can’t perform that action at this time.
0 commit comments