edited utils to take list (#115)

* enhanced difference domain
* refactored utils
* fixed typo
* added tests
---------

Co-authored-by: Dario Coscia <93731561+dario-coscia@users.noreply.github.com>
This commit is contained in:
Kush
2023-06-19 18:47:52 +02:00
committed by Nicola Demo
parent aaf2bed732
commit 62ec69ccac
9 changed files with 73 additions and 47 deletions

View File

@@ -11,7 +11,7 @@ class Trainer(pl.Trainer):
super().__init__(**kwargs)
# check inheritance consistency for solver
check_consistency(solver, SolverInterface, 'Solver model')
check_consistency(solver, SolverInterface)
self._model = solver
# create dataloader