Wouter1
Wouter1
I create a 4dim matrix and then print the elements using createIndexer.toString() code: ``` public void testToString4D() { Mat mat = mat4d(5, 4, 2, 3); System.out.println(mat.createIndexer().toString()); } private Mat mat4d(int...
I try to build this but I get errors I checked out usb4java-examples and apply' mvn package' That gives ``` Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/3.0/maven-compiler-plugin-3.0.pom Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/3.0/maven-compiler-plugin-3.0.pom (10 KB at 23.3 KB/sec) Downloading:...
Thanks for this script, it works nice on OSX 9 But on OSX 6 I get this ERROR: Missing "Kernel slide:" line, so can't process /Library/Logs/DiagnosticReports/Kernel_2014-10-11-083247_urk-2.panic. This is needed for...
How do I call an overloaded constructor if I have a dict with the call args ? If the constructor is not overloaded like this it works fine using **...
I have this method (minimal just to show the issue) ``` from typing import List def f() -> List[int]: return (None) ``` f()==None as expected Now I wrap it in...
``` from __future__ import annotations from plum import dispatch from typing import TypeVar, Type T=TypeVar('T') class A: @dispatch def f(self, x:Type[T])->int: return 1 @dispatch def f(self, x:int, y:int)->int: return 2...
I think I have the same problem as #988 but now with 1.7.2 on Linux Debian 12 XFCE Almost no rules show up in the UI. The non-visible rules block...
Try this code ``` from plum import dispatch class A: @dispatch def __init__(self): self.__init__(1) @dispatch def __init__(self, x:int): print(str(x)) class B(A): def __init__(self): super().__init__() B() ``` Expected: B is constructed...