void main() {
        immutable s1 = MyStruct(firstWeights,  10,  8);
        immutable s2 = MyStruct(firstWeights,   9, 10);
        immutable s3 = MyStruct(secondWeights,  9, 10);

     import std.stdio;
        writeln(likeness(s1, s2));

Sorry for the mix of tabs and spaces. The crappy editor I have used now has not replaced your tabs with spaces...

Bye,
bearophile

Reply via email to